The int function returns the integral part of the parameter passed to it. The type of the value returned by this function is always real. NOTE: The return type is real instead of one of the integral types because the integral part of the parameter may be too big to fit in any of the integral types, and you can always use the built-in function trunc to convert the return value from real to integer.
The int function's only parameter is the expression of real type whose integral part is to be returned.
int(7.234) returns 7.0
Operating Systems: All
Standard Pascal: No