Difference between revisions of "Ceil"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <func>function Ceil(X: Extended): Integer;</func> ==Availability== SCAR Divi 3.00 > Current ==Description== This function rounds a value given by '''X''' up. ==...")
(No difference)

Revision as of 16:20, 25 June 2011

Definition

<func>function Ceil(X: Extended): Integer;</func>

Availability

SCAR Divi 3.00 > Current

Description

This function rounds a value given by X up.

Example

begin
  WriteLn(Ceil(1.1));   
  WriteLn(Ceil(1.5));
  WriteLn(Ceil(1.9));
end.

Output:

2
2
2

See Also