Головна

//ERDDAP/com.cohort.util/ScriptString2/toFloatArray

toFloatArray

[JVM]
open fun toFloatArray(oar: Array<Any>): Array<Float>

This converts an Object[] (for example, where objects are Strings or Floats) into a float[].

Return

the corresponding float[] (invalid values are converted to Float.NaN). oar=null returns null.

Parameters

JVM

oaran Object[]