IP: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (1 revision)
 
No edit summary
Line 5: Line 5:


====Comments and Examples====
====Comments and Examples====
IP(5.1)is 5, and IP(-5.1) is -5


====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====
:1.) When set to 0, the RD specification in BRConfig.sys can affect the IP function.
 
# 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>

Revision as of 17:21, 26 January 2012

IP(X)

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

  1. When set to 0, the RD specification in BRConfig.sys can affect the IP function.