toUShort

external fun toUShort(): UShort(source)

Converts this value to UShort.

Truncates towards zero and saturates to the UInt range; NaN becomes zero. Then retains the lowest 16 bits, interpreted as an unsigned UShort value.

Return

the converted UShort value.