Skip to calculators
calcmintly

Rounding Calculator

Round a value to decimal places using ties away from zero.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Rounded value

—

Use consistent units. The result follows the assumptions you enter.

Formula

Use R = sign(x)round(abs(x)×10^p)/10^p. x is the value and p is decimal places. abs means absolute value; sign restores the sign. Halfway cases round away from zero; negative places round to larger place values.

Round a value to decimal places using ties away from zero.

Worked example

Value
123.456
Decimal places; negative rounds tens
2
Rounded value
123.46

Scope and limitations

Use consistent units. The result follows the assumptions you enter.

Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.

Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.

Formula version: 812ed1ed8b2a · Example checked:

Methodology

Related tools