toDouble

Deprecated

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