toByte

external fun toByte(): Byte(source)

Converts this value to Byte.

Truncates towards zero and saturates to the Int range; NaN becomes zero. Then retains the lowest 8 bits, interpreted as a signed Byte value.

Return

the converted Byte value.