Int: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (moved INT to Int)
No edit summary
Line 1: Line 1:
The '''INT''' [[internal function]] is identical to [[IP]] internal function.
The '''INT''' [[internal function]] is identical to [[IP]] internal function.


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


The '''Int''' [[internal function]] returns the largest integer less than or equal to X.
The '''Int''' [[internal function]] returns the largest integer less than or equal to X.

Revision as of 19:38, 21 May 2014

The INT internal function is identical to IP internal function.

Int(<numeric expression>)

The Int internal function returns the largest integer less than or equal to X.

Comments and Examples

INT(+5.1) is 5, but INT(-5.1) is -6.

Related Functions:

Technical Considerations

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