parseToDoubles

fun Array<String>.parseToDoubles(parseFail: Double = Double.NaN): DoubleArray(source)

Converts the array of strings to Doubles

Return

the parsed doubles as an array

Parameters

parseFail

the value to use if the parse fails or string is null by default Double.NaN


fun List<String>.parseToDoubles(parseFail: Double = Double.NaN): DoubleArray(source)

Converts the list of strings to Doubles

Return

the parsed doubles as an array

Parameters

parseFail

the value to use if the parse fails or string is null by default Double.NaN