Custom multiplier result incorrect

XMLWordPrintable

    • Type: Problem report
    • Resolution: Known Error
    • Priority: Trivial
    • None
    • Affects Version/s: 5.0.19
    • Component/s: None
    • None

      I have a custom multiplier 0.1 on an item. I expected 232 to become 23.2

      But 232 becomes 23.200000000000003

      This is a bit strange. Is there any explanation for this behavior?

      I would ideally would like to have 1 digit precision and ignore the rest. It is surprisingly difficult to achieve.

       

            Assignee:
            Zabbix Support Team
            Reporter:
            Evren Yurtesen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: