OFBiz
  1. OFBiz
  2. OFBIZ-490

UtilFormatOut to use default.currency.decimals

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.)

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12390094 ] OFbiz Workflow [ 12506180 ]
          Jacques Le Roux made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Andrew Zeneski [ jaz ]
          Fix Version/s SVN trunk [ 12311928 ]
          Resolution Won't Fix [ 2 ]
          Jacques Le Roux made changes -
          Link This issue relates to OFBIZ-1579 [ OFBIZ-1579 ]
          Jacques Le Roux made changes -
          Link This issue is blocked by OFBIZ-1579 [ OFBIZ-1579 ]
          Jacques Le Roux made changes -
          Link This issue is blocked by OFBIZ-1579 [ OFBIZ-1579 ]
          Jacopo Cappellato made changes -
          Component/s INCORPORATING ISSUE [ 12312085 ]
          Component/s framework [ 12311145 ]
          Marco Risaliti made changes -
          Component/s INCORPORATING ISSUE [ 12312085 ]
          Component/s framework [ 12311145 ]
          Si Chen made changes -
          Field Original Value New Value
          Link This issue is depended upon by OFBIZ-494 [ OFBIZ-494 ]
          Si Chen created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development