if I enter
1234567890
in a textfield
it gives me the following number with the
[myTextField floatValue] method:
1234567936.000000
Is this behaviour is correct?
Yes, it is. A float number has approximately 6 decimal digits of precision (24 bits).
Is there a way to do calculations with precision with Foundation/AppKit?
Use double values (you can use the doubleValue method in NSTextField), they are precise up to approx. 16 decimal digits.
_______________________________________________ Bug-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnustep
