godziek.com

truncating a number

Truncating a Number

A method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For example, 3.14159265... can be truncated to 3.1415.

Note: If 3.14159265...were rounded to the same decimal place, the approximation would be 3.1416.

Copyrights © 2013 & All Rights Reserved by godziek.comhomeaboutcontactprivacy and policycookie policytermsRSS