//ERDDAP/com.cohort.util/ScriptMath2/narrowToInt
narrowToInt
[JVM]
fun narrowToInt(i: Long): Int
Safely narrows a long to an int.
Return
Integer.MAX_VALUE if i is too small or too big; otherwise i.
Parameters
JVM
i | any long |
//ERDDAP/com.cohort.util/ScriptMath2/narrowToInt
[JVM]
fun narrowToInt(i: Long): Int
Safely narrows a long to an int.
Integer.MAX_VALUE if i is too small or too big; otherwise i.
JVM
i | any long |