[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #13608] float mismatch in textfield
From: |
reandras |
Subject: |
[bug #13608] float mismatch in textfield |
Date: |
Sat, 2 Jul 2005 14:52:49 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 (Debian package 1.0.4-1) |
Follow-up Comment #1, bug #13608 (project gnustep):
2005-07-02 16:52:21.000 Program[5601] before float 123456792.000000
2005-07-02 16:52:21.000 Program[5601] before string 123456789
2005-07-02 16:52:21.000 Program[5601] after float 123456800.000000
2005-07-02 16:52:21.000 Program[5601] after string 1.234568e+08
Between the two I updated the celle with:
[myTextField setFloatValue: [myTextField floatValue]];
I think this value fits in the float limits, thought they are changed. Am I in
mistake? (the before string is the value entered and it is somewhat
misinterpreted, isn't it?).
BTW, there is a way to use not scientific number representation without
NSNumberFormatter?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13608>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/