CALCULATOR
Round to Selected Decimal Places, Ties toward +∞ Calculator
Round to Selected Decimal Places, Ties toward +∞. Decimal places: 0, 1, 2, 3, 4, 5, 6 only. Example: Value: 1.23456 number, Decimal places: 2 number gives 1.23 number. Digits0..6; aliases require preset decimal selector at landing; binary64 decimal ties can differ from exact decimal arithmetic. Original useful product scope; historical catalog title does not grant missing modes or source parity.
Digits0..6; aliases require preset decimal selector at landing; binary64 decimal ties can differ from exact decimal arithmetic. Original useful product scope; historical catalog title does not grant missing modes or source parity. Derivation: Scale, round to nearest integer with ties toward positive infinity, then unscale.
Accepted inputs: Value: -1,000,000 to 1,000,000 number; Decimal places: choose 0 (0), 1 (1), 2 (2), 3 (3), 4 (4), 5 (5), 6 (6).
How the calculation works
rounded=floor(x10ᵈ+0.5)/10ᵈ
Worked example
With value 1.23456 number, decimal places 2, round to selected decimal places, ties toward +∞ is 1.23 number.
Assumptions and limits
Digits0..6; aliases require preset decimal selector at landing; binary64 decimal ties can differ from exact decimal arithmetic. Original useful product scope; historical catalog title does not grant missing modes or source parity. Derivation: Scale, round to nearest integer with ties toward positive infinity, then unscale.