◄Summary► ◄Details► ◄Example► ◄Back► Argument number Real expression Returns <real type> A number without its fractional part Description The Int function takes a real value and returns a whole number as a real type. Int rounds the number toward zero, discarding any fractional part and returning the whole number part. Int is similar to the Trunc function, but Int returns a real type while Trunc returns an integer. The Frac function returns the part of the number omitted from the return value of Int. The following two lines are equivalent: result := Int( number ); or result := number - Frac( number );