It is used by rounding functions and would be helpful as a separate function. The `digits` argument in particular should be well documented (how `-3` rounds on minutes etc)