Rounding and Number Functions Workbench

Compare ten rounding rules on a whole column of numbers: decimal places, tens, significant figures, nearest multiples and zero padding, with reasons.

Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo

…

Come si usa

  1. 1
    Paste the numbers

    Type or paste one number per line, or import a CSV column.

  2. 2
    Choose the target

    Pick decimal places, a place value such as hundreds, significant figures, a nearest multiple or zero padding.

  3. 3
    Tick the rules

    Select which rounding modes to show as columns, from half away from zero to floor, ceiling and truncate.

  4. 4
    Read the differences

    Bold rows mark numbers where the rules give different answers; tap one for the explanation.

  5. 5
    Print a sheet

    Open Practice sheet, choose the number of questions and print the questions and the answer key.

  6. 6
    Practise

    Answer generated questions in Practice and open the reasoning whenever an answer is marked wrong.

Informazioni su questo strumento

Round 2.5 to a whole number and you might get 3, 2 or even 2 again, depending on who is asking. Schools teach rounding half away from zero, accountants and statistical software often use banker's rounding (half to even), spreadsheets offer floor and ceiling, and programmers meet truncation every time a decimal is converted to an integer. This workbench applies any combination of these rules to a whole column of numbers at once, so the differences are obvious. You can round to decimal places, to tens, hundreds or thousands, to significant figures, to the nearest multiple of something like 0.05 or 25, or pad numbers with leading zeros. Rows where the rules disagree are shown in bold. Tap any row for a plain-language explanation of what each rule did, and print a worksheet of mixed rounding questions with a separate answer sheet.

Who this is for

Primary and secondary pupils learning place value, students who keep losing marks on significant figures, teachers who need printable practice, and anyone puzzled why a spreadsheet and a calculator disagree in the last digit.

The rules

Half away from zero is the classroom rule: look at the first dropped digit, and if it is 5 or more the kept digit goes up in size, so 2.5 becomes 3 and −2.5 becomes −3. Half up (towards plus infinity) breaks ties upwards on the number line, so −2.5 becomes −2. Half down is its mirror image. Half to even, also called banker's or statistician's rounding, sends a tie to the neighbour with an even last digit: 2.5 becomes 2 and 3.5 becomes 4. It is the default in IEEE 754 arithmetic because ties no longer push totals upwards on average. Floor always moves down the number line, ceiling always moves up, truncation chops digits off and therefore moves towards zero, and "round up away from zero" raises the magnitude whenever anything is dropped.

Exact decimals

Most calculators store 2.675 as a binary fraction slightly below 2.675, so their two-decimal answer is 2.67. This workbench works on the digits you typed, so 2.675 is treated as an exact tie and half away from zero gives 2.68, which is what a textbook expects. The same exact arithmetic is used for nearest multiples and significant figures.

Significant figures and place value

For significant figures the tool finds the first non-zero digit, counts along and rounds at that position with the chosen rule. Trailing zeros that carry meaning are kept, so 9.996 to three significant figures is shown as 10.0 rather than 10. Negative places round to tens (−1), hundreds (−2) and thousands (−3).

Worked example

Round 1249.95 to one decimal place: the kept part is 1249.9 and the dropped digit is 5 with nothing after it, an exact tie. Half away from zero and half up give 1250.0, half to even also gives 1250.0 because 9 is odd, while floor and truncation give 1249.9. Rounding the number 1250 to the nearest hundred is also a tie: half away from zero gives 1300 but banker's rounding gives 1200.

Limits

Numbers must be typed in ordinary decimal or e-notation; fractions and thousands separators other than commas are not read. Very long inputs are handled exactly, but the explanation covers only the selected number. The practice sheet uses its own random questions and does not follow a particular exam board's mark scheme.

Esempio svolto

2.675 to 2 d.p.: half away 2.68, banker's 2.68, floor 2.67. 2.5 to whole: half away 3, banker's 2. −2.5: half up −2, floor −3.

In breve

Domande frequenti

Which rounding rule should I use for homework?

Unless the question says otherwise, use round half away from zero: if the first dropped digit is 5 or more, round up in size. That is the rule in most school courses and exam mark schemes.

Why does my calculator round 2.675 to 2.67?

Because it stores 2.675 in binary as 2.67499999…, which is just below the tie. This tool works with the exact decimal digits you typed, so it treats 2.675 as a true tie.

What is banker's rounding for?

When you round many values that end in 5, always going up adds a small upward bias. Rounding ties to the even neighbour sends half of them up and half down, so totals and averages stay unbiased.

How do floor and truncate differ?

They agree for positive numbers. For negatives, floor moves further from zero (−2.3 becomes −3) while truncation moves towards zero (−2.3 becomes −2).

Can I round to the nearest 5 cents or quarter hour?

Yes. Choose nearest multiple and type 0.05 for cash rounding or 0.25 for quarter hours; any rule can be applied to the tie.

Are the printed answers right for the printed questions?

Yes. The sheet is generated from a fixed seed for each question count, so printing the questions and then the answers with the same count gives matching sheets.

Completamente gratisNessun costo, nessuna registrazione
I file restano privatiTutto funziona nel tuo browser
Facile nella tua linguaDisponibile in molte lingue