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 Double 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 Double using String.toDouble, and will result in the same numeric value. The exact bit pattern of a NaN double is not guaranteed to be preserved though.