You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/05/24 17:39:17 UTC

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

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.


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

Posted by "Marco Risaliti (JIRA)" <ji...@apache.org>.
     [ 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.