mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 09:19:32 +02:00
9 lines
175 B
ObjectPascal
9 lines
175 B
ObjectPascal
Program Example34;
|
|
|
|
{ Program to demonstrate the Int function. }
|
|
|
|
begin
|
|
Writeln (Int(123.456):0:1); { Prints 123.0 }
|
|
Writeln (Int(-123.456):0:1); { Prints -123.0 }
|
|
end.
|