fpc/tests/webtbs/tw33963.pp
florian aadd93847f -- Zusammenführen von r43620 in ».«:
U    compiler/nadd.pas
U    compiler/ncnv.pas
U    compiler/ncon.pas
U    compiler/node.pas
A    tests/test/tcurrency1.pp
A    tests/webtbs/tw33963.pp
A    tests/webtbs/tw36179.pp
-- Aufzeichnung der Informationen für Zusammenführung von r43620 in ».«:
 U   .

git-svn-id: branches/fixes_3_2@43621 -
2019-12-01 20:29:52 +00:00

12 lines
186 B
ObjectPascal

{$ifdef fpc}{$mode delphi}{$H+}{$endif}
var C: Currency;
begin
c:= 1000;
c:= c*1.05;
// at this point C=1050
writeln(c:4:2);
if c<>1050 then
halt(1);
writeln('ok');
end.