|
float - cut down digts?
you know if you do float x = 12/12.0;
it'll give you x = 1.00000
now what do i do if i want to cout the result at 1.0
do I have to convert x into a string and take out "characters" or what? that just doesnt sound very sophiscated
i feel there is better approach to it?
|