舍入计算器

四舍五入一数字到任何数字的十进制位置或 significant figures.

最后更新:

Rounding Calculator

Enter a number, choose how you want it rounded, and see the result instantly.

LIVE
Round To
Number to Round Exact decimal input
Commas, spaces, signs and scientific notation such as 1.2345e6 are supported.
Result Standard rounding
Rounded Result 123 Rounded to the nearest whole number
Original 123.4567
Rounded To Nearest whole number
Method Standard
Difference −0.4567
Before 123.4567
→
After 123

Why This Result?

See the rounding digit, next digit, nearby values and the exact rounding difference.

EXPLAINED
Digit Being Kept 3
Decision Digit 4
Lower Option 123
Upper Option 124
4 is less than 5, so the kept digit stays the same.
Show Number Line
Lower 123
Upper 124

Quick Rounding Presets

Switch to a common rounding target with one click.

QUICK

Advanced Rounding

Use custom decimal places, place values, significant figures, or a different rounding method.

OPTIONAL
Open Advanced Options
Standard rounding chooses the nearest value. Exact halfway cases move away from zero.

Recent Calculations

Saved only in this browser so you can quickly reuse recent rounding calculations.

LOCAL

How Rounding Works

GUIDE

Look at the next digit

With standard rounding, choose the place value you want to keep and check the digit immediately to its right. If that digit is below 5, the kept digit stays the same. If it is above 5, the kept digit increases. Exact halfway cases follow the selected rounding method. This calculator uses decimal-safe arithmetic so values such as 1.005 can be rounded without normal binary floating-point surprises.

舍入计算器: 四舍五入数字与步骤

使用这舍入计算器到四舍五入整个数字, 十进制, 负值, 和 scientific notation. 选择十进制位置, significant figures, 或一位置值此类作为最近 ten, hundred, 或 thousand. 计算器显示四舍五入结果和 explains 哪个数字确定是否数字更改.

它是有用用于 homework, lab 结果, 账户, engineering 计算, statistics, 报告, 和日常测量.

如何到使用舍入计算器

  1. 输入数字您想要到四舍五入.
  2. 选择十进制位置, significant figures, 或位置值.
  3. 选择一舍入 method.
  4. 检查四舍五入结果.
  5. 检查 retained 数字, deciding 数字, 和计算步骤.
  6. 复制答案或 try 另一个示例.

工具保留 trailing 零何时它们显示 requested 十进制 precision. 用于示例, 舍入 9.5 到二十进制位置给出 9.50.

四舍五入到十进制位置

十进制位置是数字到正确的十进制点.

用于示例, 四舍五入 12.786 到二十进制位置:

12.786 → 12.79

秒十进制位置是 hundredths 数字, 哪个是 8. 下一个数字是 6, 所以 hundredths 数字四舍五入上从 8 到 9.

常见十进制-位置示例

  • 24.6 到最近整个数字 = 25
  • 6.84 到一十进制位置 = 6.8
  • 3.146 到二十进制位置 = 3.15
  • 7.386 到二十进制位置 = 7.39
  • 9.5 到二十进制位置 = 9.50

四舍五入到一位置值

位置值意味着舍入到一 position 在一整个数字或十进制.

用于示例, 四舍五入 4,267 到最近 hundred:

4,267 → 4,300

hundreds 数字是 2. tens 数字是 6, 所以 hundreds 数字四舍五入上到 3. tens 和在 positions 变成零.

常见位置值包括:

  • 最近整个数字
  • 最近 ten
  • 最近 hundred
  • 最近 thousand
  • 最近 tenth
  • 最近 hundredth
  • 最近 thousandth

四舍五入到 significant figures

Significant figures 显示 meaningful 数字在一数字. 它们是尤其重要在 science, engineering, 测量, 和 laboratory 结果.

用于示例, 四舍五入 0.004786 到三 significant figures:

0.004786 → 0.00479

Leading 零是不 significant. 第一三 significant 数字是 4, 7, 和 8. 下一个数字是 6, 所以 8 四舍五入上到 9.

另一个示例:

12,849 四舍五入到三 significant figures 变为 12,800.

第一三 significant 数字是 1, 2, 和 8. 下一个数字是 4, 所以 third significant 数字保持相同.

如何标准舍入工作

用于标准舍入, look 在数字立即之后位置您是保持.

  • 如果 deciding 数字是 0–4, 保留 retained 数字相同.
  • 如果 deciding 数字是 5–9, 增加 retained 数字通过一.

例如:

18.7 四舍五入到最近整个数字是 19.

整个-数字数字是 8. deciding 数字是 7, 所以结果四舍五入上.

舍入 methods explained

不同 subjects, industries, 和软件可能使用不同规则用于值结束在正好 5.

四舍五入 half away 从零

这常见学校 method 四舍五入到最近值. 一值正好 halfway 之间二 choices 增加在 magnitude.

示例:

  • 4.5 变为 5
  • −4.5 变为 −5

四舍五入 half 上

这四舍五入到最近值, 与一精确 5 移动 toward positive infinity.

四舍五入 half 到甚至

也 called banker’s 舍入, 这四舍五入精确 halves 到最近甚至数字. 它帮助减少舍入 bias 跨许多计算.

例如:

  • 2.5 四舍五入到 2
  • 3.5 四舍五入到 4

Ceiling, floor, 和 truncation

  • Ceiling: 始终四舍五入 upward toward positive infinity.
  • Floor: 始终四舍五入 downward toward 负 infinity.
  • Truncation: 移除额外数字无舍入.

这些 methods 可以生成不同结果, 尤其用于负数字.

舍入负数字

负值遵循已选择舍入 method. 用于示例:

−4.67 四舍五入到最近 tenth 是 −4.7.

tenths 数字是 6, 和下一个数字是 7, 所以值移动 farther 从零使用标准 half-away-从-零舍入.

避免舍入也提前

何时 solving 一 multi-step 计算, 保留额外数字直到最终 step whenever 可能. 舍入 intermediate 答案也 soon 可以 cause 一最终结果到是更少准确.

用于示例, 在一 science, 金融, 或 statistics 计算, 使用完整计算器值期间工作步骤, 然后四舍五入仅最终答案到必需 precision.

舍入计算器 FAQs

什么是差异之间十进制位置和 significant figures?

十进制位置计数数字之后十进制点. Significant figures 计数 meaningful 数字起始从第一 non-零数字.

什么数字 decides 是否到四舍五入上或下?

数字立即之后最后数字您是保持是 deciding 数字.

为什么会 9.5 变成 9.50?

值是相同, 但 trailing 零显示那结果是四舍五入到二十进制位置.

可以我四舍五入 scientific notation?

是. 输入 scientific notation, 此类作为 4.786e-3, 和选择必需数字的 significant figures 或十进制位置.

会计算器工作与大数字?

是. 您可以四舍五入数字到 tens, hundreds, thousands, millions, 十进制位置, 和 significant figures.