toString

Common
JVM
JS
Native
1.0
fun toString ( ) : String
(Common source) (Native source)
For Common, JVM, JS

Returns a string representation of the object.

For Native

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.