* Fixed tests to be locale independent.

git-svn-id: trunk@10693 -
This commit is contained in:
yury 2008-04-18 13:31:43 +00:00
parent 9222540e84
commit b14276d62a
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,6 @@ var
cs:String;
begin
cs:=FormatFloat('0.00000E+0000',52247.9532745);
if (cs<>'5.22480E+0004') then
if (cs<>'5'+DecimalSeparator+'22480E+0004') then
halt(1);
end.

View File

@ -27,6 +27,7 @@ procedure p;
end;
begin
ThousandSeparator:=',';
p;
if err then
halt(1);