Difference between revisions of "IntPortion"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the integer portion of the specified numerical expression while retaing the sign. ==== Usage ==== <syntaxhighlight>IntPortion(Value)</syntaxhighlight> Where: [[Va...")
 
m
 
Line 1: Line 1:
 
Returns the integer portion of the specified numerical expression while retaing the sign.   
 
Returns the integer portion of the specified numerical expression while retaing the sign.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>IntPortion(Value)</syntaxhighlight>  
 
<syntaxhighlight>IntPortion(Value)</syntaxhighlight>  
  
Where: [[Value]] - a numerical expression  
+
Where:  
 +
 
 +
:'''Value''' - a numerical expression.
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>IntPortion(-45.75) will return a value of -45  
+
<syntaxhighlight>IntPortion(-45.75);</syntaxhighlight>
 +
Will return a value of -45.
  
IntPortion(1385) will return a value of 1385</syntaxhighlight>
+
<syntaxhighlight>IntPortion(1385);</syntaxhighlight>
 +
Will return a value of 1385.
 
   
 
   
 
[[Category:Math and Trig]]
 
[[Category:Math and Trig]]

Latest revision as of 06:03, 9 February 2012

Returns the integer portion of the specified numerical expression while retaing the sign.

Usage

IntPortion(Value)

Where:

Value - a numerical expression.

Example

IntPortion(-45.75);

Will return a value of -45.

IntPortion(1385);

Will return a value of 1385.