Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25896

Incorrect abs function description in the documentation

XMLWordPrintable

    • Documentation backlog
    • 0.5

      Converted from a typo report:
      URL: https://www.zabbix.com/documentation/6.4/en/manual/appendix/functions/math
      DOCUMENT URL: https://git.zabbix.com/projects/WEB/repos/documentation/browse/en/manual/appendix/functions/math.md?at=refs/heads/release/6.4
      MISTAKE: <q>abs(value)
      The absolute value of a value.
      Supported value types: Float, Integer, String, Text, Log.
      For strings returns: 0 - the values are equal; 1 - the values differ.
      Parameter:
      value - the value to check
      The absolute numeric difference will be calculated, as seen with these incoming example values ('previous' and 'latest' value = absolute difference): '1' and '5' = 4; '3' and '1' = 2; '0' and '-2.5' = 2.5</q>
      COMMENT: is this true? I thought this function only calculate absolute value, not compare anything (function 'change').

            martins-v Martins Valkovskis
            mgeneralova Marina Generalova
            Team Doc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: