DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22436>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22436

validateFloat fails for 0.8 in the JavaScript

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From [EMAIL PROTECTED]  2003-08-18 22:05 -------
Doesn't the fix to strip of the leading zero's break all float hex checks? 
isAllDigits() looks to see if it starts with 0x, if the 0 is removed, then it's
just going to start with x and then be considered invalid.

I think removing the octal check would be better and have less impact on most
people.  Perhaps only remove the octal check for validateFloat() by passing in a
boolean to isAllDigits() since floats are probably the only numbers that will
start with a 0.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to