integerPart property

BigInt integerPart

The component of the number before the decimal point

Implementation

BigInt get integerPart => minorUnits ~/ BigInt.from(10).pow(scale);