반올림 계산기
Rounding Calculator
반올림 계산기란?
지정한 자릿수에서 반올림·올림(切上)·내림(切下)을 계산하는 도구입니다. 소수점 이하 자리뿐 아니라 십의 자리·백의 자리 같은 정수 자릿수 지정도 가능합니다.
사용 방법
값과 자릿수를 입력합니다. 자릿수 2는 소수 둘째 자리까지 남기고, 0은 정수로, −2는 백의 자리에서 처리합니다. 반올림·올림·내림 중 방식을 선택하고 계산하기를 누릅니다.
공식·참고표
계수 factor = 10^자릿수를 사용해 round(value × factor) / factor (올림·내림은 Math.ceil/Math.floor로 치환) 방식으로 계산합니다.
| 자릿수 | 반올림 | 올림 | 내림 |
|---|---|---|---|
| 2 | 1234.57 | 1234.57 | 1234.56 |
| 0 | 1235 | 1235 | 1234 |
| −2 | 1200 | 1300 | 1200 |
What is the Rounding Calculator?
A tool for computing round, ceil, and floor at any specified digit — not just decimal places, but also tens, hundreds, and other integer place values.
How to use it
Enter a value and a digit. A digit of 2 keeps two decimal places, 0 rounds to an integer, and −2 operates at the hundreds place. Choose round, ceil, or floor, then press Calculate.
Formula & reference
Using a factor factor = 10^digit, the result is round(value × factor) / factor (substituting Math.ceil/Math.floor for ceil/floor mode).
| Digit | Round | Ceil | Floor |
|---|---|---|---|
| 2 | 1234.57 | 1234.57 | 1234.56 |
| 0 | 1235 | 1235 | 1234 |
| −2 | 1200 | 1300 | 1200 |
자주 묻는 질문
자릿수는 어떻게 입력하나요?
반올림·올림·내림의 차이는 무엇인가요?
음수를 입력해도 반올림 규칙이 같나요?
FAQ
How do I specify the digit?
What's the difference between round, ceil, and floor?
Do the rules stay the same for negative numbers?
안내: 본 계산기는 일반적인 수학 계산 결과를 제공합니다. 컴퓨터의 부동소수점 연산 특성상 매우 복잡한 소수 계산에서는 미세한 오차가 발생할 수 있으므로, 정밀한 검증이 필요한 계산에는 별도 확인을 권장합니다.
Note: This calculator provides standard mathematical results. Due to floating-point behavior, very complex decimal calculations may show tiny rounding differences — please double-check figures where precise verification is required.