Rounding is:exact
"Rounding strategy" - how to apply an AmountStyle's display precision
to a posting amount (and its cost, if any). Mainly used to customise
print's output, with --round=none|soft|hard|all.
Rounding rationals to significant digits and decimal places.
The
round function from the prelude returns an integer. The
standard librarys of C and C++ have round functions that return
floating point numbers. Rounding in this library takes and returns
Rationals and can round to a number of significant digits or a
number of decimal places.