+1 888 340 6572

FracPortion: Difference between revisions

From MultiCharts
(Created page with "Returns the fractional portion of the specified numerical expression while retaing the sign. ==== Usage ==== <syntaxhighlight>FracPortion(Value)</syntaxhighlight> Where: ...")
 
mNo edit summary
 
Line 1: Line 1:
Returns the fractional portion of the specified numerical expression while retaing the sign.   
Returns the fractional portion of the specified numerical expression while retaing the sign.   


==== Usage ====
== Usage ==
<syntaxhighlight>FracPortion(Value)</syntaxhighlight>  
<syntaxhighlight>FracPortion(Value);</syntaxhighlight>  


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


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

Latest revision as of 06:04, 9 February 2012

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

Usage

FracPortion(Value);

Where:

Value - a numerical expression.

Example

FracPortion(-45.275);

Will return a value of -0.275.

FracPortion(1385);

Will return a value of 0.