mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:07:56 +02:00
* Fixed tests to be locale independent.
git-svn-id: trunk@10693 -
This commit is contained in:
parent
9222540e84
commit
b14276d62a
@ -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.
|
||||
|
@ -27,6 +27,7 @@ procedure p;
|
||||
end;
|
||||
|
||||
begin
|
||||
ThousandSeparator:=',';
|
||||
p;
|
||||
if err then
|
||||
halt(1);
|
||||
|
Loading…
Reference in New Issue
Block a user