longValue

fun longValue(): Long

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

Return

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