Truncation of large numbers in latest data

XMLWordPrintable

    • Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9, Sprint 10, Sprint 14, Sprint 15, Sprint 16
    • 1

      Problem occurs when large numeric value is being converted (formatHistoryValue > convert_units > round + sprintf ). Value within DB is correct and calculation of change (delta) is not affected by this bug.

      Bug can be reproduced by performing the following use case:
      1. Create new item, with unsigned integer result type. A suggest using the following item: "system.run[echo 1234567890123456789]" (without quotes), but any item that produces a large (18 or more digits) number will be fine.

      2. Go to the latest data tab. Expected result would be 1234567890123456789, but result is being displayed as 1234567890123456769

            Assignee:
            Miks Kronkalns
            Reporter:
            Vjaceslavs Bogdanovs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: