Trunc

From Lazarus wiki
Revision as of 20:47, 22 March 2018 by Useroflazarus (talk | contribs)
Jump to navigationJump to search

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: