fun toString(): String
Returns a string representation of the object.
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.
© 2010–2023 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/to-string.html