Rounding uses the decimal digits you entered and exact integer arithmetic, avoiding binary floating-point surprises such as 1.005 rounding incorrectly to 1.00. The default rounds to the nearest value, with exact ties away from zero: 1.005 → 1.01 and −1.005 → −1.01 at two decimal places. Additional settings offer ties to even, floor, ceiling and truncation. Displayed fractional trailing zeros are retained. For whole numbers, the selected significant-figure count is stated above because trailing zeros alone are ambiguous. Enter a dot as the decimal separator; scientific notation is accepted.
Rounding Calculator
CalcsDecoded.com
Rounded value
15.68
Rounded to 2 decimal places. Negative places round to tens, hundreds and larger powers of ten.
Inputs used
Number: 15.6789
Round to: Decimal places / tens / hundreds
Decimal places (negative for tens / hundreds): 2
Rounding rule: Nearest; ties away from zero
Method and assumptions
Rounding uses the decimal digits you entered and exact integer arithmetic, avoiding binary floating-point surprises such as 1.005 rounding incorrectly to 1.00. The default rounds to the nearest value, with exact ties away from zero: 1.005 → 1.01 and −1.005 → −1.01 at two decimal places. Additional settings offer ties to even, floor, ceiling and truncation. Displayed fractional trailing zeros are retained. For whole numbers, the selected significant-figure count is stated above because trailing zeros alone are ambiguous. Enter a dot as the decimal separator; scientific notation is accepted.
Examples and assumptions
Choose the number of places or significant figures and the rule used at a halfway value.
Round to cents
1.01.
The value is halfway between 1.00 and 1.01. Ties away from zero choose 1.01.
Ties to even
2.
At the halfway point between 2 and 3, the even whole number is 2.
Before you use the result
Ties away from zero and ties to even are different rules; choose the one required by your task.
Negative decimal places round to tens, hundreds and larger powers of ten.
Enter a dot for the decimal separator. Commas and currency symbols are not accepted.
Calculation checks and references
Reference cases use exact decimal input for halfway values, negative numbers, all five rules, scientific notation and significant-figure carry.
Reference cases checked: . Checks are automated reference calculations; an independent professional review is not claimed.
References explain definitions, rules or context; they do not endorse CalcsDecoded.com. See our calculation methodology for the testing and updating standard.
Frequently asked questions
How are exact halfway values rounded?
The default is nearest with ties away from zero: 1.005 becomes 1.01 and -1.005 becomes -1.01 at two decimal places. Other rules are available in Additional settings.
How do I round to tens or hundreds?
Choose decimal places and enter -1 for tens, -2 for hundreds or -3 for thousands.
What are significant figures?
They count digits from the first nonzero digit. For example, 0.012345 rounded to three significant figures is 0.0123. Trailing zeros in a whole-number result can be ambiguous; the selected precision is stated with the result.
Report a problem or send feedback
Report a problem or send feedback
Tell us what went wrong or how we can improve this calculator. Please don't include financial or other sensitive information.