Mathematics· Exact, step by step
Round a number every common way at once: decimal places, whole number, up, down, truncated and to the nearest step.
Formula · Round a number
Nearest rules round halfway values away from zero; up = ceiling, down = floor, truncate drops the decimals.
Every rule is applied to the same number. Halfway values round away from zero (2.5 → 3, −2.5 → −3). Rounding up and down follow the number line, so −1.2 rounds up to −1 and down to −2; truncating just drops the decimals.
Free to use with a link back. Nothing you type is shared.
Preparing citation…
Keep exploring