Difference between revisions of "Int"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 9: Line 9:
  
 
See also:
 
See also:
 +
* [[Frac]]
 
* [[Round]]
 
* [[Round]]
 
* [[Trunc]]
 
* [[Trunc]]
  
 
[[Category:Pascal]]
 
[[Category:Pascal]]

Revision as of 11:18, 18 August 2019

English (en) русский (ru)

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: