I have a problem with my float variable, i have to do some operation and then i have a final number what I saw is that some time the number is not correct, but just for a point for example when i have this number and i try to print it i don't give me back the same number:
float myNumber = 27589353.0f; NSLog(@"My Number is %.2f", myNumber); the result is: My Number is 27589352.00
I've tried to put the variable double but i have the same issue.
float. Usedouble.