Repository navigation
- Fixed half-cent rounding.
Math.round(n * 100) / 100turns
402.50 × 19%(76.475) into76.47, because76.475 * 100is
7647.499999999999, sovalidateInputrejected the correctly rounded
76.48(BR-CO-17). Amounts are now rounded half away from zero on a
noise-free value and compared in integer cents, in the validator and in
the XML builder alike. Reported by @johannesspohr (#21).