Salta al contenuto principale

//ERDDAP/com.cohort.util/ScriptMath2/narrowToChar

narrowToChar

[JVM]
fun narrowToChar(i: Int): Char

Safely narrows an int to a char.

Return

Character.MAX_VALUE if i is too small or too big; otherwise i.

Parameters

JVM

iany int

[JVM]
fun narrowToChar(i: Long): Char

Safely narrows a long to a char.

Return

Character.MAX_VALUE if i is too small or too big; otherwise i.

Parameters

JVM

iany long