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 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.

Since Kotlin

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

Since Kotlin

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

Since Kotlin

1.8