Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-2026

format currency values as currencies, not numbers

    XMLWordPrintable

    Details

    • Template:

      Description

      This change is covered by UXPROD-1104, which has not been started yet because it is not highly ranked.   Holly will update UXPROD-1104 so that it is defined by this New Feature.  

      Description: Currency values should be formatted as such rather than merely as floating point numbers.

      Details: In lieu of someFloat.toFixed(2), use react-intl to format currency values. The currency attribute, e.g. USD, is already be part of the context:

      <FormattedNumber value={1000} style="currency" currency="USD" />
      
      intl.formatNumber(1000, {style: 'currency', currency: 'USD'})
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases