parseFloat

external fun parseFloat(s: String, radix: Int = definedExternally): Double(source)

Deprecated (with error)

Use toDouble() instead.

Replace with

s.toDouble()

Since Kotlin

1.1