Hmmm ... wasn't there a function like Abs or something ???
Abs gives us the absolute value
eg
abs (-12)=12
abs(12.24)=12.00
The rounding of depends on the precision. Have never peeped into all this stuff. But floats have precision upto 6 decimals. And if you need to print say floats in 2 decimals, u can use %.2f as format specifier
__________________
I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned.