+1 888 340 6572

AbsValue: Difference between revisions

From MultiCharts
(Created page with "Returns the absolute value of the specified numerical expression. ==== Usage ==== <syntaxhighlight>AbsValue(Value)</syntaxhighlight> Where: Value - a numerical expres...")
 
mNo edit summary
 
Line 1: Line 1:
Returns the absolute value of the specified numerical expression.   
Returns the absolute value of the specified numerical expression.   


==== Usage ====
== Usage ==
<syntaxhighlight>AbsValue(Value)</syntaxhighlight>  
<syntaxhighlight>AbsValue(Value)</syntaxhighlight>  


Where: [[Value]] - a numerical expression  
Where:  
 
:'''Value''' - a numerical expression.
   
   
==== Example ====
== Example ==
<syntaxhighlight>AbsValue(45.275) will return a value of 45.275  
<syntaxhighlight>AbsValue(45.275);</syntaxhighlight>
Will return a value of 45.275.


AbsValue(-1385) will return a value of 1385</syntaxhighlight>
<syntaxhighlight>AbsValue(-1385);</syntaxhighlight>
Will return a value of 1385.
   
   
[[Category:Math and Trig]]
[[Category:Math and Trig]]

Latest revision as of 06:02, 9 February 2012

Returns the absolute value of the specified numerical expression.

Usage

AbsValue(Value)

Where:

Value - a numerical expression.

Example

AbsValue(45.275);

Will return a value of 45.275.

AbsValue(-1385);

Will return a value of 1385.