ushortValue

open override fun ushortValue(exactRequired: Boolean): UShort

Convert the current value to UShort.

Parameters

exactRequired

True causes an ArithmeticException to be thrown if there is any loss of precision during the conversion, either side of the decimal. False truncates any precision to the right of the decimal.