IP: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
IP( | IP(<[[numeric expression]]>) | ||
The '''IP''' [[internal function]] returns the integer part of X. | The '''IP''' [[internal function]] returns the integer part of X. | ||
====Comments and Examples==== | ====Comments and Examples==== | ||
====Related Functions | 00010 print IP(5.1) | ||
00020 print IP(-5.1) | |||
00030 print IP(3) | |||
Output: | |||
5 | |||
-5 | |||
3 | |||
====Related Functions==== | |||
*[[Abs]] | *[[Abs]] | ||
*[[CEIL]] | *[[CEIL]] | ||
Line 15: | Line 25: | ||
====Technical Considerations==== | ====Technical Considerations==== | ||
# When set to 0, the RD specification in BRConfig.sys can affect the IP function. | |||
<noinclude> | <noinclude> | ||
[[Category:Internal Functions]] | [[Category:Internal Functions]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:38, 21 May 2014
IP(<numeric expression>)
The IP internal function returns the integer part of X.
Comments and Examples
00010 print IP(5.1) 00020 print IP(-5.1) 00030 print IP(3)
Output:
5 -5 3
Related Functions
Technical Considerations
- When set to 0, the RD specification in BRConfig.sys can affect the IP function.