kotlin-stdlib / kotlin / Number / toDouble toDouble Common JVM JS Native 1.0 abstract fun toDouble ( ) : Double (Common source) (Native source) Returns the value of this number as a Double , which may involve rounding.