मुख्य सामग्री पर जाएं

//ERDDAP/com.cohort.util/ScriptMath2/truncToInt

truncToInt

[JVM]
open fun truncToInt(d: Double): Int

This returns the truncated part of a double, stored as an int.

Return

the truncated version of d (or NaN if trouble)

Parameters

JVM

dany double

See also

Math2