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