Àwọn Ìṣàmúlò-ètò
Round a number to any number of decimal places, up or down.
Àwọn Àtòjọ-ẹ̀yàn àwọn ìṣàmúlò-ètò
Àkóónú ìṣàmúlò-ètò yìí
A rounding calculator rounds a number to a chosen number of decimal places (or significant figures) and shows four results side by side: the standard nearest-value rounding, always-up (ceiling), always-down (floor), and truncation, so you can compare every option at once.
Standard rounding looks at the digit just past the cut-off — 5 or more rounds up, less than 5 rounds down — so 3.14159 to two decimal places is 3.14. The other columns force a direction: for 2.673 the nearest and floor both give 2.67 while the ceiling gives 2.68, and truncation simply drops the extra digits to 2.67 without rounding. Switching the mode to significant figures counts meaningful digits from the first non-zero one instead, and a negative number of places rounds to the left of the point, so 3457 to −2 places becomes 3500.
Rounding matters for money, measurements, reporting to a sensible precision, and avoiding false accuracy in results. Seeing nearest, up, down and truncated together makes it clear how much a value shifts depending on which rule you apply.
Àwọn Àtòjọ-ẹ̀yàn
Bawo ní a ṣe lè ló àwọn ààyè àwọn ààtò àtòjọ-ẹ̀yàn?
Look at the digit just past the cut-off: 5 or more rounds up, less than 5 rounds down. 3.14159 to two places is 3.14.
Àwọn ìṣàmúlò-ètò àwọn ààyè-iṣẹ́ àwọn ààyè-iṣẹ́
Ó fọwọ́sì sí ọ̀tún ààyè àwọn ààtò àwọn ààtò àwọn ààtò: −1 fọwọ́sì sí àwọn àwọn oṣùkẹ́tà tí wa ní pàtó, −2 si àwọn oṣùkẹ́tà tí wa ní pàtó. 3457 si −2 àwọn ààyè ní 3500.
Kini ìfaràǹwọ́ laarin ìṣàfarawé àwọn
Rounding up (ceiling) always moves to the larger value and rounding down (floor) to the smaller, while nearest picks whichever is closer. For 2.673 to two places, nearest and down give 2.67 but up gives 2.68.
Àwòrán
Ó kùnà àwọn àdírẹ̀sì láti inú ààyè tí o yàn láti inú àwọn ààyè rẹ̀ láti inú àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè
Bawo ni mo ṣe lè fi àwọn àwọn ìtàn àwọn àwọn ààyè-iṣẹ́ pamọ́ láti inú àwọn ààyè-iṣẹ́?
Sún móòdù láti àwọn ààyè àwọn àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè àwọn ààyè
Does rounding up always make a number bigger?
Only for positive numbers. Rounding up means toward positive infinity, so −2.7 rounded up to a whole number is −2, which is larger, not smaller.
API — ló àwọn ìṣàmúlò-ètò yìí láti inú ìṣàmúlò-ètò
Fi àwọn ìṣàmúlò-ètò yìí kọ̀ǹpútà yìí láti jẹ́ ààyè-iṣẹ́ JSON tí a tí fi pamọ́ - kò ní bọ́tìnì kan tí a fẹ́. Fi àwọn fálù ààyè-iṣẹ́ sílẹ̀ sí bí àwọn àwọn ìṣàmúlò-ètò àti JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ka àwọn àkọlé API kíkún →
Àwọn Ààyè Ìjánu-ìṣàmúlò-ètò
GET https://calculator.free/api/v1/rounding/
curl
curl "https://calculator.free/api/v1/rounding/?number=3.14159&places=2&mode=decimals"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/rounding/?" + new URLSearchParams({
"number": "3.14159",
"places": "2",
"mode": "decimals"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.