Mathematics

Number Rounding

Round decimal values to significant figures or decimal places, with ties away from zero.

01Input and settings

The calculation runs in your browser. You can use the tool without installing software.

02Result

Waiting for input
Waiting for input

Enter your values or load the example to see the result here.

About this tool: Number Rounding

Round decimal values to significant figures or decimal places, with ties away from zero.

Significant figures control the total useful digits, while decimal places control the position after the decimal separator. The rounding rule is symmetric: 1.25 becomes 1.3 and −1.25 becomes −1.3 at one decimal place. String arithmetic avoids the usual binary rounding surprises.

How the calculation works

|remainder| ≥ 0.5 unit → round away from zero

Worked example

Input
123.456
Mode
Significant figures
Precision
3
123

Questions and answers

What does this tool do?

Round decimal values to significant figures or decimal places, with ties away from zero. Significant figures control the total useful digits, while decimal places control the position after the decimal separator. The rounding rule is symmetric: 1.25 becomes 1.3 and −1.25 becomes −1.3 at one decimal place. String arithmetic avoids the usual binary rounding surprises.

What affects precision and input format?

These operations preserve integer or decimal precision with string and integer arithmetic. Input size is limited to keep the page responsive.

Where are the calculations performed?

The calculation runs in your browser. You can use the tool without installing software.

Comments (0)

Share your thoughts — please be polite and stay on topic.

No comments yet. Leave a comment — share your opinion!

To leave a comment, please log in.

Log in to comment