parseToDoubles

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

Converts the array of strings to Doubles

Return

the parsed doubles as an array

Parameters

dblStrings

an array of strings that represent Doubles

parseFail

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


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

Converts the array of strings to Doubles

Return

the parsed doubles as an array

Parameters

dblStrings

a list of strings that represent Doubles

parseFail

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