toInt

fun toInt(): Int(source)

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

Return

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

See also

halfToShort