Abs()

  See Also

Related Topics

 

 

Description

Abs() returns a number's unsigned value, or absolute value.

 

 

Syntax

Abs(number)

 

 

Parameters

number

A number, or an expression that returns a number.

 

 

Return Value

The number's unsigned value.

 

 

Examples

AbsoluteValue(instrument)=begin

retval = Abs(instrument.last - instrument.open)

end

 

 

Comments

NA