Int

From Free Pascal wiki
Jump to: navigation, search

Function Int returns the integer part of the argument. X is a real-type expression. The result is the integer part of X, rounded toward zero.

Declaration

function Int(X: Real): Real;

See also:

Personal tools