Hi All,
I got a program which declares a float variable as f.
and then iterates a for loop for 10 times adding a 0.1f to this variable
well u assume the value is 1.0f but it is not true the value is something like 1.0000001
why is this so. I tried this on windows using visual studio
Regards,
Stephen



LinkBack URL
About LinkBacks



