fpc/tests/webtbs/tw9384.pp
yury 4c769f6148 * Fixed test to be locale independent.
git-svn-id: trunk@10697 -
2008-04-18 14:18:14 +00:00

12 lines
192 B
ObjectPascal

program test_formatloat;
{$mode objfpc}{$H+}
uses
SysUtils;
var
ef : Extended;
begin
ef := 12;
if (FormatFloat('#.#######E-0',ef) <> '1'+DecimalSeparator+'2E1') then
halt(1);
end.