Approximations: rounding and truncation

There are many times when computations are done with approximations to numbers, sometimes by choice, sometimes because there is no other way. In this module we look at two ways of approximating numbers: rounding and truncation.

These pages can also be downloaded as a (non interactive) PDF file from here.

Truncation

Truncation is a method of approximating numbers. It is easier than rounding, but does not always give the best approximation to the original number. Truncation is used in computing when division is done with integers and the answer must be an integer.

The number e is

e=2.718281828459045 ...

Sometimes a number is approximated by just ignoring digits. This is called truncation.

Examples
Practice questions

Truncate 9.15 to an integer (whole number).

Truncate 9.15 to give a number with 1 decimal place.

Truncate 234.876 to give an integer.

Truncate 234.876 to give a number with 2 decimal places.

Truncate −234.876 to give a number with 2 decimal places.