getDoubleValue

fun getDoubleValue(text: String?): Double?

Retrieve the float value from strings like "1.03" or "1,03"

Return

the float value or null if not correct

Parameters

text

value to parse


fun TextView.getDoubleValue(): Double?

Return

the float value or null if not correct

See also