toDouble
Converts this Long value to Double.
The resulting value is the closest Double
to this Long
value. In case when this Long
value is exactly between two Double
s, the one with zero at least significant bit of mantissa is selected.
Since Kotlin
1.0Returns the value of this number as a Double, which may involve rounding.
Since Kotlin
1.1Converts this Long value to Double.
The resulting value is the closest Double
to this Long
value. In case when this Long
value is exactly between two Double
s, the one with zero at least significant bit of mantissa is selected.