decimalPart property

BigInt decimalPart

The component of the number after the decimal point.

The returned value will always be a +ve no. The integerPart will contain the sign.

Implementation

BigInt get decimalPart => (minorUnits - integerPart * scaleFactor).abs();