Difference between revisions of "FracPortion"
Jump to navigation
Jump to search
(Created page with "Returns the fractional portion of the specified numerical expression while retaing the sign. ==== Usage ==== <syntaxhighlight>FracPortion(Value)</syntaxhighlight> Where: ...") |
m |
||
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 == | |
− | <syntaxhighlight>FracPortion(Value)</syntaxhighlight> | + | <syntaxhighlight>FracPortion(Value);</syntaxhighlight> |
− | Where: | + | Where: |
+ | |||
+ | :'''Value''' - a numerical expression. | ||
− | + | == Example == | |
− | <syntaxhighlight>FracPortion(-45.275) | + | <syntaxhighlight>FracPortion(-45.275);</syntaxhighlight> |
+ | Will return a value of -0.275. | ||
− | FracPortion(1385) | + | <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.