fpc/docs/mathex/ex7.pp
2000-07-06 12:36:10 +00:00

12 lines
205 B
ObjectPascal

Program Example7;
{ Program to demonstrate the Ceil function. }
Uses math;
begin
Writeln(Ceil(-3.7)); // should be -3
Writeln(Ceil(3.7)); // should be 4
Writeln(Ceil(-4.0)); // should be -4
end.