Difference between revisions of "Neg"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the negative absolute value of the specified numerical expression. ==== Usage ==== <syntaxhighlight>Neg(Value)</syntaxhighlight> Where: Value - a numerical ex...")
 
m
Line 1: Line 1:
 
Returns the negative absolute value of the specified numerical expression.   
 
Returns the negative absolute value of the specified numerical expression.   
  
==== Usage ====
+
== Usage ==
<syntaxhighlight>Neg(Value)</syntaxhighlight>  
+
<syntaxhighlight>Neg(Value);</syntaxhighlight>  
  
Where: [[Value]] - a numerical expression  
+
Where:  
 +
 
 +
:'''Value''' - a numerical expression.
 
   
 
   
==== Example ====
+
== Examples ==
<syntaxhighlight>Neg(12) will return a value of -12  
+
<syntaxhighlight>Neg(12);</syntaxhighlight>
 +
Will return a value of -12.
  
Neg(-7) will return a value of -7</syntaxhighlight>
+
<syntaxhighlight>Neg(-7);</syntaxhighlight>
+
Will return a value of -7.
  
 
[[Category:Math and Trig]]
 
[[Category:Math and Trig]]

Revision as of 06:14, 9 February 2012

Returns the negative absolute value of the specified numerical expression.

Usage

Neg(Value);

Where:

Value - a numerical expression.

Examples

Neg(12);

Will return a value of -12.

Neg(-7);

Will return a value of -7.