Tuesday, 22 May 2012

Truncation


In mathematics and computer science, truncation is the appellation for attached the amount of digits appropriate of the decimal point, by auctioning the atomic cogent ones.

For example, accede the absolute numbers

5.6341432543653654

32.438191288

−6.3444444444444

To abbreviate these numbers to 4 decimal digits, we alone accede the 4 digits to the appropriate of the decimal point.

The aftereffect would be:

5.6341

32.4381

−6.3444

Note that in some cases, truncating would crop the aforementioned aftereffect as rounding, but truncation does not annular up or annular down the digits; it alone cuts off at the defined digit. The truncation absurdity can be alert the best absurdity in rounding.

No comments:

Post a Comment