Javadoc
Converts this
Decimal128 to a
long. This conversion is analogous to the narrowing primitive conversion from
double to
long as defined in The Java™ Language Specification: any fractional part of this
Decimal128 will be discarded, and if the resulting integral value is too big to fit in a
long, only the
low-order 64 bits are returned. Note that this conversion can lose information about the overall magnitude and precision of this
Decimal128 value as well as return a result with the opposite sign. Note that
#NEGATIVE_ZERO is converted to
0L.