Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-677

Large numbers (over 1 million) are not properly parsed in javascript

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.2-B1
    • Component/s: Admin Interfaces
    • Labels:
      None

      Description

      In-Portal has javascript class called NumberFormatter, that allows to format/parse any number to have decimal and thousands separator in proper places, e.g. "54434343.22" will be "54,434,343.22" in formatted case. Method Format is responsible for that.

      Method Parse fails to parse string from example above resulting only first comma to be replaced and not all of them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: