Taito pääsisältöön

//ERDDAP/com.cohort.util/ScriptMath2/greaterThanAE

greaterThanAE

[JVM]
open fun greaterThanAE(nSignificantDigits: Int, d1: Double, d2: Double): Boolean

This tests if d1 is greater than or almostEqual9 d2.

Return

true if d1 is greater than or almostEqual9 d2. If isNaN(d1) || isNaN(d2), this returns false.

Parameters

JVM

nSignificantDigits0 to 18 are allowed; 5, 9, and 14 are common
d1the first number
d2the second number