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

//ERDDAP/com.cohort.util/ScriptMath2/floatToDouble

floatToDouble

[JVM]
fun floatToDouble(f: Double): Double

Safely converts a float to a double.

Return

an unbruised double (not xxxx999999 or xxxx000001). If f is NaN, this returns Double.NaN. If f is +-INFINITY, this returns Double.+-INFINITY.

Parameters

JVM

fa double or float