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

12 lines
207 B
ObjectPascal

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