parse

fun parse(text: String): Double?(source)

Parses text, which the caller has already checked contains only digits, a dot, an exponent marker and signs. Returns null when it is not a decimal number after all.