[ 
https://issues.apache.org/jira/browse/LANG-1613?focusedWorklogId=509075&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-509075
 ]

ASF GitHub Bot logged work on LANG-1613:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Nov/20 10:43
            Start Date: 09/Nov/20 10:43
    Worklog Time Spent: 10m 
      Work Description: arturobernalg opened a new pull request #642:
URL: https://github.com/apache/commons-lang/pull/642


   … of Double


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 509075)
    Remaining Estimate: 0h
            Time Spent: 10m

> BigDecimal is created when you pass it the minimum values of Double
> -------------------------------------------------------------------
>
>                 Key: LANG-1613
>                 URL: https://issues.apache.org/jira/browse/LANG-1613
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.math.*
>            Reporter: Arturo Bernal
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was doing tests and I have found that if you try to create a number using 
> NumberUtils.createNumber and pass it the minimum possible value of a Double 
> and concatenating "D" it returns a decimal
>  
> {code:java}
> assertTrue(NumberUtils.createNumber("4.9e-324D") instanceof Double); 
> assertTrue(NumberUtils.createNumber("4.9e-324F") instanceof Double);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to