toDouble

open override fun toDouble(): Double(source)

Converts this Int value to Double.

The resulting Double value represents the same numerical value as this Int.

Since Kotlin

1.0
open override fun toDouble(): Double(source)

Converts this Int value to Double.

The resulting Double value represents the same numerical value as this Int.

Since Kotlin

1.1
open external override fun toDouble(): Double(source)

Converts this Int value to Double.

The resulting Double value represents the same numerical value as this Int.

Since Kotlin

1.3
open override fun toDouble(): Double(source)

Converts this Int value to Double.

The resulting Double value represents the same numerical value as this Int.

Since Kotlin

1.8
open override fun toDouble(): Double(source)

Converts this Int value to Double.

The resulting Double value represents the same numerical value as this Int.

Since Kotlin

1.8