Format |
|
AINT(x) |
|
Description |
|
Returns the nearest integer whose value is not greater than integral value of x: AINT(x) = floor(x) if x is greater than or equal to zero AINT(x) = ceil(x) if x is less than zero |
|
Example |
|
<Reference_Variable id = "1" label = "AINT Example" type = "EXPRESSION" expr = "AINT(AY(569,193))" /> AINT(-1.2) = -1 AINT(5.8) = 5 AINT(0.8) = 0 |
|
Arguments |
|
x |
Any valid function expression. |
Comments |
|
The mathematical function floor(x)calculates the largest integer not greater than x. ceil(x)calculates the smallest integer not less than x. |
See Also: