Rounding Calculator

Round or truncate values to decimal places, tens, hundreds, or thousands.

Result

12.35

Round 12.345 to 2 decimal places = 12.35

Formulas

Round to decimal places

round(x × 10ⁿ) ÷ 10ⁿ

Truncate

trunc(x × 10ⁿ) ÷ 10ⁿ

Examples

Frequently Asked Questions

How do up and down work with negative numbers?

Up moves toward positive infinity; down moves toward negative infinity.

What does truncate do?

Truncate removes digits beyond the selected place by moving toward zero.