//ERDDAP/com.cohort.util/ScriptMath2/roundTo
roundTo
[JVM]
fun roundTo(d: Double, nPlaces: Int): Double
Rounds the value to the specified number of decimal places.
Parameters
JVM
d | any double |
nPlaces | the desired number of digits to the right of the decimal point |