Abs()

Calculate the absolute values.

SQRT(x) x=Generic Calculate |x|.

example:

	# Print the absolute value
	printn Abs(-3.3)
	3.3

Note: This function can be applied to all numeric types (including arrays & workspaces).


Abs()

Calculates the absolute value of a number or of the numbers in an array. All negative numbers will be returned as positive numbers of the same magnitude.

Parameters:

X (Generic)

A single number, array or workspace containing the values for which to find |x|. Undefined values passed to this function will be returned undefined.

RESULT = (Generic)

Either the absolute value or an undefined result.