Floor

From SCAR Divi Manual
Revision as of 16:21, 25 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <func>function Floor(X: Extended): Integer;</func> ==Availability== SCAR Divi 3.00 > Current ==Description== This function rounds a value given by '''X''' down. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

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

Availability

SCAR Divi 3.00 > Current

Description

This function rounds a value given by X down.

Example

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

Output:

1
1
1

See Also