//ERDDAP/com.cohort.util/ScriptMath2/trunc
trunc
[JVM]
open fun trunc(d: Double): Double
This returns the truncated part of a double.
Return
d truncated. The return value will be the same sign as d. !isFinite(d), this returns NaN. d=trunc(d)+frac(d);
Parameters
JVM
d | a double value |