You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/21 07:44:58 UTC
DO NOT REPLY [Bug 31327] New: -
validateFloat method result in error when verify the number 0.9
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