Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7503318D69 for ; Fri, 8 Apr 2016 08:13:26 +0000 (UTC) Received: (qmail 8801 invoked by uid 500); 8 Apr 2016 08:13:26 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 8385 invoked by uid 500); 8 Apr 2016 08:13:25 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 8165 invoked by uid 99); 8 Apr 2016 08:13:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2016 08:13:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A18F32C1F5D for ; Fri, 8 Apr 2016 08:13:25 +0000 (UTC) Date: Fri, 8 Apr 2016 08:13:25 +0000 (UTC) From: "yusw (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LANG-1216) version3.5 org.apache.commons.lang3.math.NumberUtils.isNumber bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 yusw created LANG-1216: -------------------------- Summary: version3.5 org.apache.commons.lang3.math.NumberUtils.= isNumber bug Key: LANG-1216 URL: https://issues.apache.org/jira/browse/LANG-1216 Project: Commons Lang Issue Type: Bug Affects Versions: 3.4 Reporter: yusw I found that when using NumberUtils=E3=80=90org.apache.commons.lang3.math.N= umberUtils.isNumber(version3.4)=E3=80=91 isNumber method the following phen= omenon,=20 when the parameter is 1.0 is true, but when the parameter is 0.1 is display= ed is false. When I use 0.1 as the parameter tuning isNumber method,=20 view the source code in the method of the method of line 1370 discovered a = problem. When the analytical parameter is ". ", this time the chars [I] value is 46,= direct return false. I think to do so is not very reasonable, please give me your guidance. -- This message was sent by Atlassian JIRA (v6.3.4#6332)