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

//ERDDAP/com.cohort.util/ScriptString2/toDoubleArray

toDoubleArray

[JVM]
open fun toDoubleArray(oar: Array<Any>): Array<Double>

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

Return

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

Parameters

JVM

oaran Object[]