Sign

From MultiCharts
Revision as of 14:23, 26 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value, indicating the sign of the value of the specified numerical expression. A value of 1 is returned for a positive value, -1 is returned for a negativ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a numerical value, indicating the sign of the value of the specified numerical expression. A value of 1 is returned for a positive value, -1 is returned for a negative value, and 0 is returned for the value of 0.

Usage

Sign(Value)

Where: Value - a numerical expression

Example

Sign(5) will return a value of 1 

Sign(-2.85) will return a value of -1 

Sign(0) will return a value of 0