float abc = 20130401.0f;
NSLog(@"abc = %f",abc);
result:
2013-04-08 15:47:38.963 CCLearnIphone[5034:c07] abc = 20130400.000000
It's the same to use double.
How can I express an eight-digit number?
I know precision is lost but .000000 should not be 1.0000000.
%f should be 0.9xxxxx etc
why is it .000000 rounded to 1.000000?