toString

open override fun toString(): String(source)

Since Kotlin

1.0
open override fun toString(): String(source)

Since Kotlin

1.1
open override fun toString(): String(source)

Returns the string representation of this Float value.

Note that the representation format is unstable and may change in a future release. However, it is guaranteed that the returned string is valid for converting back to Float using String.toFloat, and will result in the same numeric value. The exact bit pattern of a NaN float is not guaranteed to be preserved though.

Since Kotlin

1.3
open override fun toString(): String(source)

Since Kotlin

1.8
open override fun toString(): String(source)

Since Kotlin

1.8