Abs

Abs(<value>)

The function returns the absolute value of a number.

Parameters

valueNumeric expression for which the absolute value will be returned.

Examples

MsgBox(Abs(-5))     # --> 5
MsgBox(Abs(1.25))   # --> 1.25