Hi, I have float values in my iPhone program, when I type in a textfield and print it it shows a little different value than what I have typed, I used printf to see the results. I can't understand why its happening. How can I resolve this. For example textfield.floatValue actual value typed - 44.45 displayed value - 44.459999 Can any one help me on some way to avoid this. Thanks -Tharindu _______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com