Truncates a floating-point value to a floating point number representing the largest integer that is less than or equal to dx.
[ dResult = ] Int ( dx )
The Int procedure syntax has the following parts:
|
Name |
Type |
Description |
|
dResult |
Double |
Result |
|
dx |
Val Double |
Input Value |
When dx is negative, this procedure returns a value less than or equal to dx.
df = Int(123.456)
! now df is 123
df = Int(-123.456)
! now df is -124