Uploaded image for project: 'Community Dashboard Framework'
  1. Community Dashboard Framework
  2. CDF-458

Build capability to format numbers into CDF

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.0 GA, 15.02.26
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      When developing a dashboard, it's very useful to have access to a number formatting library. We should include one out of the box in CDF.

      We have two choices:

      1. numeral.js
      2. CDO.dataFormat (part of CCC)

      We should go with 2 as long as the formatting masks suffice and are in line with what the services team needs.

      Regardless of the choice, we should build a simple accessor in CDF to format numbers and be consistent with its usage - something like $f(<number>, <format>)

        Attachments

          Activity

            People

            • Assignee:
              elopes Eduardo Lopes (Inactive)
              Reporter:
              pamval Pedro Vale
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: