mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:48:00 +02:00
11 lines
129 B
ObjectPascal
11 lines
129 B
ObjectPascal
CONST C : Currency = 100;
|
|
var
|
|
s : string;
|
|
|
|
begin
|
|
str(C:10:2,s);
|
|
if s<>' 100.00' then
|
|
halt(1);
|
|
writeln('ok');
|
|
end.
|