toFloat
Parses the string as a Float number and returns the result.
Since Kotlin
1.0Throws
if the string is not a valid representation of a number.
Parses the string as a Float number and returns the result.
Since Kotlin
1.1Throws
if the string is not a valid representation of a number.
Parses the string as a Float number and returns the result.
Since Kotlin
1.0Throws
if the string is not a valid representation of a number.
Parses the string as a Float number and returns the result.
Since Kotlin
1.3Throws
if the string is not a valid representation of a number.
Parses the string as a Float number and returns the result.
Since Kotlin
1.8Throws
if the string is not a valid representation of a number.