toDouble

expect fun toDouble(): Double(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.0
actual fun toDouble(): Double(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.1

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.0
actual external fun toDouble(): Double(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.3
actual inline fun toDouble(): Double(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.8
actual inline fun toDouble(): Double(source)

Deprecated

Warning since 1.5

Conversion of Char to Number is deprecated. Use Char.code property instead.

Replace with

this.code.toDouble()

Returns the value of this character as a Double.

Since Kotlin

1.8