Rounding package:hledger-lib

"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.
do hard rounding of amt and cost
do hard rounding of amt (use the exact target precision, possibly hiding significant digits), and soft rounding of cost
keep display precisions unchanged in amt and cost
do soft rounding of amt and cost amounts (show more or fewer decimal zeros to approximate the target precision, but don't hide significant digits)
"rounding strategy" - kept here for convenience, for now: when displaying an amount, it is ignored, but when applying this style to another amount, it determines how hard we should try to adjust that amount's display precision.
Set this amount style's rounding strategy when it is being applied to amounts.
Set these amount styles' rounding strategy when they are being applied to amounts.