Difference between revisions of "Round"
From SCAR Divi Manual
(Created page with "==Definition== <func>function Round(X: Extended): Integer;</func> ==Availability== SCAR Divi 3.00 > Current ==Description== This function rounds a value given by '''X'''. ==Ex...") |
(No difference)
|
Revision as of 16:22, 25 June 2011
Definition
<func>function Round(X: Extended): Integer;</func>
Availability
SCAR Divi 3.00 > Current
Description
This function rounds a value given by X.
Example
begin WriteLn(Round(1.1)); WriteLn(Round(1.5)); WriteLn(Round(1.9)); end.
Output:
1 2 2