toLongExact
Returns this value as a Long if it is an integer in range.
Throws ArithmeticException if the value has a non-zero fractional component.
Returns this value as a Long if it is an integer in range.
Throws ArithmeticException if the value has a non-zero fractional component.