Abs

Returns the absolute value of a given number.

Syntax

value = Abs (input)

Description

This function takes a number, input, and returns the absolute value of it in value.

The absolute value is also known as the modulus. It is the non-negative version of a number, e.g. -1.75 would become 1.75.

This function has no effect on positive numbers.


Table of contents