Difference between revisions of "Int"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 +
{{Int}}
 +
 
Function '''Int''' returns the integer part of the argument. X is a [[Real|real]]-type expression. The result is the integer part of X, rounded toward zero.
 
Function '''Int''' returns the integer part of the argument. X is a [[Real|real]]-type expression. The result is the integer part of X, rounded toward zero.
  

Revision as of 21:46, 22 March 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: