Afrondingscalculator
Een getal tot een aantal decimalen afronden, op of neer.
Resultaten update als u typt.
Over deze rekenmachine
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.
Veelgestelde vragen
Hoe werkt afronding tot decimale plaatsen werken?
Kijk naar het cijfer net voorbij de afkap: 5 of meer ronden omhoog, minder dan 5 ronden naar beneden. 3.14159 naar twee plaatsen is 3.14.
Wat doet een negatief aantal decimalen?
Het rondt links van de decimale punt: −1 rondes tot op de dichtstbijzijnde tien, −2 tot op de dichtstbijzijnde honderd. 3457 tot −2 plaatsen is 3500.
Wat is het verschil tussen afronden en afronden?
Afronden (plafond) beweegt altijd naar de grotere waarde en afronding naar beneden (vloer) naar de kleinere, terwijl de dichtstbijzijnde picks die dichter is. Voor 2.673 naar twee plaatsen, het dichtste en het onderste geven 2,67 maar omhoog geeft 2,68.
Wat toont het afgekorte resultaat?
Het snijdt de cijfers buiten de gekozen plaats zonder afronding helemaal. 2.673 afgekort tot twee decimalen is 2.67, hoewel de dichtstbijzijnde afronding geeft 2,67 hier en 2.678 zou afkappen tot 2,67 terwijl afronding tot 2,68.
Hoe rond ik tot significante cijfers in plaats van decimalen?
Schakel de modus van decimale plaatsen naar significante cijfers. Een nauwkeurigheid van 3 houdt dan de eerste drie betekenisvolle cijfers, zodat 0,0045213 wordt 0,00452.
Maakt het afronden altijd een getal groter?
Alleen voor positieve getallen. Afronden betekent naar positieve oneindigheid, dus −2.7 afgerond op een heel getal is −2, wat groter is, niet kleiner.
API
Noem deze rekenmachine als een gratis JSON eindpunt.. geen sleutel nodig. Stuur de veldwaarden hieronder als query parameters of JSON. Alles wat je weglaat gebruikt dezelfde standaard als deze pagina is voorgevuld met; een onbekende parameter is een 400, nooit een stil nul. Lees de volledige API docs →
Eindpunt
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);
De resultaten zijn schattingen voor algemene richtsnoeren, niet voor financieel, medisch of fiscaal advies.