You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Marco Risaliti (JIRA)" <ji...@apache.org> on 2007/12/20 17:48:49 UTC

[jira] Updated: (OFBIZ-490) UtilFormatOut to use default.currency.decimals

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

Marco Risaliti updated OFBIZ-490:
---------------------------------

    Component/s:     (was: framework)
                 INCORPORATING ISSUE

> UtilFormatOut to use default.currency.decimals
> ----------------------------------------------
>
>                 Key: OFBIZ-490
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-490
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: INCORPORATING ISSUE
>            Reporter: Si Chen
>            Priority: Minor
>
> I looked through utilFormatOut.formatCurrency and the way that it is called from OfbizCurrencyTransform and the ModelFormField, it currently does not set a maximum digit.
> I propose that we add a default.currency.decimals into general.properties and then modify UtilFormatOut.formatCurrency so that if this is set, then the default number of decimals is set from this property after the locale has been set.  (If it is set before the Locale it will not work.)

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