//ERDDAP/com.cohort.util/ScriptMath2/roundToUInt
roundToUInt
[JVM]
fun roundToUInt(d: Double): Long
Safely rounds a double to a uint.
Return
4294967295L 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.