Difference between revisions of "IntPortion"
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 == | |
<syntaxhighlight>IntPortion(Value)</syntaxhighlight> | <syntaxhighlight>IntPortion(Value)</syntaxhighlight> | ||
− | Where: | + | Where: |
+ | |||
+ | :'''Value''' - a numerical expression. | ||
− | + | == Example == | |
− | <syntaxhighlight>IntPortion(-45.75) | + | <syntaxhighlight>IntPortion(-45.75);</syntaxhighlight> |
+ | Will return a value of -45. | ||
− | IntPortion(1385) | + | <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.