[jira] Created: (OFBIZ-1034) Refactor the ShoppingCart.*Total() methods to use (and return) BigDecimal instead of double

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1034) Refactor the ShoppingCart.*Total() methods to use (and return) BigDecimal instead of double

Nicolas Malin (Jira)
Refactor the ShoppingCart.*Total() methods to use (and return) BigDecimal instead of double
-------------------------------------------------------------------------------------------

                 Key: OFBIZ-1034
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1034
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: order
            Reporter: Jacopo Cappellato
            Priority: Minor


At least the following methods in the ShoppingCart class should be refactored to use BigDecimal arithmetic:

getSubTotal()
getTotalShipping()
getTotalSalesTax()
getOrderOtherAdjustmentTotal()
getDisplayGrandTotal()
getDisplaySubTotal()
getDisplayRecurringSubTotal()
etc...


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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1034) Refactor the ShoppingCart.*Total() methods to use (and return) BigDecimal instead of double

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Risaliti closed OFBIZ-1034.
---------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

After the BigDecimal re-factory those methods are now returning BigDecimal so I will close it.

Thanks
Marco

> Refactor the ShoppingCart.*Total() methods to use (and return) BigDecimal instead of double
> -------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1034
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1034
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>            Reporter: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> At least the following methods in the ShoppingCart class should be refactored to use BigDecimal arithmetic:
> getSubTotal()
> getTotalShipping()
> getTotalSalesTax()
> getOrderOtherAdjustmentTotal()
> getDisplayGrandTotal()
> getDisplaySubTotal()
> getDisplayRecurringSubTotal()
> etc...

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