Difference between revisions of "Trunc"
From Lazarus wiki
Jump to navigationJump to search (Created page with "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 rounde...") |
m |
||
Line 1: | Line 1: | ||
− | Function '''Trunc''' truncates a [[real]]-type value to an [[Integer]]-type value. | + | Function '''Trunc''' truncates a [[Real|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. | X is a real-type expression. Trunc returns a [[Longint]] value that is the value of X rounded toward zero. | ||