intValue

fun intValue(): Int

Returns the value of the specified number as an int, which may involve rounding or truncation.

Return

the numeric value represented by this object after conversion to type int.