Posted by wesley on 09/11/06 08:33
Hi all
I have a floating point number stored in a variable. i want to round
that number off to two places and store it in a variable. Does anyone
know how to do that?
I know that i can use the printf to display the number to 2 decimal
places. but i want to store that number in a vaiable.
Thanks Wes
Navigation:
[Reply to this message]
|