[ 
https://issues.apache.org/jira/browse/LANG-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213947#comment-14213947
 ] 

Sebb commented on LANG-674:
---------------------------

One might say that isNumber uses the 'Java' Locale.
AFAIK Java does not allow anything other than "." as the decimal point marker.

However, I agree that other methods in the class might benefit from 
Locale-specific versions.
And the ones that assume a specific Locale should say so.

> NumberUtils and decimal point character
> ---------------------------------------
>
>                 Key: LANG-674
>                 URL: https://issues.apache.org/jira/browse/LANG-674
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.math.*
>            Reporter: Henri Yandell
>             Fix For: Patch Needed
>
>
> Stevo Slavić reports on commons-user:
> Is there any valid reason why '.' is hardcoded as decimal point
> character in lang.math.NumberUtils, commons-lang (2.6) ? Shouldn't
> this be locale dependent?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to