Tuesday, May 21, 2013

How do you round 0.23 to the nearest whole number?

We check which whole number 0.23 is closest to: 
abs%281-0.23%29=0.67 


abs%280-0.23%29=abs%280.23%29=0.23 

the shorter distance is from 0 

so we round to 0 



:)

No comments: