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

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

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

Nicolas Malin (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.