//ERDDAP/com.cohort.util/ScriptMath2/biggerDouble
biggerDouble
[JVM]
open fun biggerDouble(def: Double, mult: Double, max: Double, d: Double): Double
This increases d to the next multiple of mult.
Return
the next multiple of mult bigger than d. It rounds to nearest mult, then changes it. If !Double.isFinite(d), it returns def.
Parameters
JVM
def | the default value |
mult | the multiple |
max | the maximum value |
d | the initial value |