shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Coleman (JIRA)" <j...@apache.org>
Subject [jira] Created: (SHALE-440) Prefer BigDecimal(String) to BigDecimal(double) in MockExpressionFactory.coerce()
Date Thu, 26 Apr 2007 08:44:42 GMT
Prefer BigDecimal(String) to BigDecimal(double) in MockExpressionFactory.coerce()
---------------------------------------------------------------------------------

                 Key: SHALE-440
                 URL: https://issues.apache.org/struts/browse/SHALE-440
             Project: Shale
          Issue Type: Bug
          Components: Test
    Affects Versions: 1.0.4
            Reporter: Guy Coleman
            Priority: Minor


When coercing a Number to a BigDecimal, MockExpressionFactory.coerce() uses the BigDecimal(double)
constructor. It should use BigDecimal(String) because it produces more predictable results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message