toByte

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.3", "1.5") fun toByte(): Byte
(Common source) (Native source)
Deprecated: Unclear conversion. To achieve the same result convert to Int explicitly and then to Byte.

Converts this Double value to Byte.

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