Difference between revisions of "Int"
From Free Pascal wiki
Jump to navigationJump to searchm |
|||
Line 4: | Line 4: | ||
Declaration | Declaration | ||
− | + | <syntaxhighlight> | |
+ | function Int(X: Real): Real; | ||
+ | </syntaxhighlight> | ||
See also: | See also: |
Revision as of 17:15, 29 May 2018
│
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: