>>> import Numeric.Decimal >>> :set -XDataKinds -XTypeApplications >>> decimalDenominator <$> arithD @RoundHalfEven @3 @Int 123.45 Arith 1000