IP: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:


  IP(X)
  IP(<[[numeric expression]]>)


The '''IP''' [[internal function]] returns the integer part of X.
The '''IP''' [[internal function]] returns the integer part of X.

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

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