You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2009/11/14 10:18:39 UTC

[jira] Created: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
---------------------------------------------------------------------------------------

                 Key: OFBIZ-3200
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
             Project: OFBiz
          Issue Type: Improvement
          Components: accounting, specialpurpose/pos
    Affects Versions: SVN trunk
            Reporter: Jacques Le Roux
            Priority: Trivial




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


[jira] Commented: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Hans Bakker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777859#action_12777859 ] 

Hans Bakker commented on OFBIZ-3200:
------------------------------------

in general properies there is:

currency.decimal.format=##0.00

can we use(combine) this with this change?

just a suggestion.

Regards,
hans

> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-3200.patch, OFBIZ-3200.patch
>
>


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


[jira] Commented: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777863#action_12777863 ] 

Scott Gray commented on OFBIZ-3200:
-----------------------------------

Looks good to me Jacques

Hans, the formats are currently hardcoded in UtilFormatOut but that could easily be changed if someone so desired.



> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-3200.patch, OFBIZ-3200.patch
>
>


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


[jira] Updated: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-3200:
-----------------------------------

    Attachment: OFBIZ-3200.patch

OFBIZ-3200.patch replaces all new BigDecimal("0.00") by BigDecimal.ZERO. 


> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-3200.patch
>
>


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


[jira] Commented: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777850#action_12777850 ] 

Jacques Le Roux commented on OFBIZ-3200:
----------------------------------------

Plus some other changes copied on r834274

> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-3200.patch, OFBIZ-3200.patch
>
>


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


[jira] Closed: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-3200.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks Hans, Scott,

Fixed at r836153  


> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3200.patch, OFBIZ-3200.patch
>
>


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


[jira] Updated: (OFBIZ-3200) Replace all "0.00" in java code, notably to allow passing different decimals lenghtes

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-3200:
-----------------------------------

    Attachment: OFBIZ-3200.patch

> Replace all   "0.00" in java code, notably to allow passing different decimals lenghtes
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3200
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3200
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-3200.patch, OFBIZ-3200.patch
>
>


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