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

//ERDDAP/com.cohort.util/ScriptMath2/NaNCheck

NaNCheck

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

Checks if the value is NaN or infinite: returns Double.NaN if so; otherwise returns the original value.

Return

d (or NaN if !isFinite(d))

Parameters

JVM

dand double value