//ERDDAP/com.cohort.util/ScriptMath2/roundToULong
roundToULong
[JVM]
fun roundToULong(d: Double): BigInteger
Safely rounds a double to a ulong.
Return
ULONG_MAX_VALUE if d is too small, too big, or NaN; otherwise d, rounded to the nearest short. Undesirable: d.5 rounds up for positive numbers, down for negative.
Parameters
JVM
d | any double |