[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Int Returns the Integral Portion of a Value
Int(X : Real) : Real;
Int(X : Integer) : Real;
Returns the integral portion of X--i.e., the portion of X to the left
of the decimal point. If X is an integer, Int(X) = X. Note that X :=
Int(X) + Frac(X).
X An integer or real value (constant, variable, function
call, or expression).
Limits: none
-------------------------------- Example ---------------------------------
X := Int(34.992); { X = 34.0 }
See Also:
Frac
Trunc
Round
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson