fpc/tests/webtbs/tw19077.pp
2011-04-15 20:53:11 +00:00

16 lines
188 B
ObjectPascal

uses
math;
var
c : currency;
begin
{$ifdef FPC_HAS_TYPE_EXTENDED}
c:=1.5625;
c:=RoundTo(c,-1);
if c<>1.6 then
halt(1);
writeln('ok');
{$endif FPC_HAS_TYPE_EXTENDED}
end.