toByte

open override fun toByte(): Byte(source)

Deprecated

Unclear conversion. To achieve the same result convert to Int explicitly and then to Byte.

Replace with

toInt().toByte()

Converts this Double value to Byte.

The resulting Byte value is equal to this.toInt().toByte().

Since Kotlin

1.0