Trunc

From Lazarus wiki
Revision as of 11:17, 18 August 2019 by Mischi (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Function Trunc truncates a real-type value to an Integer-type value. X is a real-type expression. Trunc returns a Longint value that is the value of X rounded toward zero.

Declaration

 function Trunc(X: Real): Longint;

See also: