Exact float value from a NSString

Viewed 4113
NSString *str = @"37.3336";
float f = [str floatValue];

f is 37.3335991.

Aside from rounding this myself, is there a way to get the exact float value from a NSString?

2 Answers
Related