মূল বিষয়বস্তু উপেক্ষা করুন

//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