I am trying to convert string to float but it changes the decimal values. e.g I have a string:
NSString *str = @"33.641832";
float value = [str floatValue]; //33.6418304
the value give me 33.6418304
instead of 33.641832
. I want to convert exactly as in the string.