abs(
VALUE
)

The abs( function calculates the absolute value of a number.


Parameters

This function has one parameter:

value – is the input value.


Description

The abs( function returns the absolute (positive) value of the numeric parameter. In other words, negative numbers become positive, while positive numbers stay positive.

abs(4) ☞ 4
abs(-4) ☞ 4
abs(12.78) ☞ 12.78000
abs(-12.78) ☞ 12.78000
abs(5-3) ☞ 2
abs(3-5) ☞ 2

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0