Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-490

UtilFormatOut to use default.currency.decimals

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaz Andrew Zeneski
                Reporter:
                sichen Si Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: