commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31327] New: - validateFloat method result in error when verify the number 0.9
Date Tue, 21 Sep 2004 05:44:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31327>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31327

validateFloat method result in error when verify the number 0.9

           Summary: validateFloat method result in error when verify the
                    number 0.9
           Product: Commons
           Version: 1.1.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: superbible_cs@163.com


The validateFloat() method said 0.9 is not a float number.
I had check the source,the code in isAllDigits() method which called by 
validateFloat() have a bug.
I think this 
validChars = "01234567";
should be 
validChars = "0123456789";

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message