بنیادی مواد پر مہارت حاصل کریں

//ERDDAP/com.cohort.util/ScriptMath2/smaller15

smaller15

[JVM]
open fun smaller15(d: Double): Double

This gets the double value from the string, decreases it (nicely), so the mantissa is 1 or 5.

Return

the next 1 or 5 * 10^x. It rounds to nearest 1 or 5, then changes it. If !Double.isFinite(d), it returns d. If almost0(d), it returns 0.01.

Parameters

JVM

dthe initial value