Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

abs(number) Returns the absolute value of a number.


Function: abs()

Returns the absolute value of a number.

Syntax

abs(number)

ArgumentTypeDescription
numberNumberA number for which the absolute value is required.

Examples

abs(-2.3)

returns 2.3.


abs(2.3)

returns 2.3.

See Also