approximateMultiplier property

double? get approximateMultiplier

Convenience approximation of the current multiplier.

Financial code should use the exact numerator and denominator instead.

Implementation

double? get approximateMultiplier =>
    canonicalAmount == BigInt.zero
        ? null
        : unitAmount.toDouble() / canonicalAmount.toDouble();