Unclear conversion. To achieve the same result convert to Int explicitly and then to Byte.
toInt().toByte()
Converts this Double value to Byte.
The resulting Byte value is equal to this.toInt().toByte().
Byte
this.toInt().toByte()
Thanks for your feedback!