toShort

Returns the value of this Half as a short after a narrowing primitive conversion.

Return

The half-precision float value represented by this object converted to type short

See also

halfToShort