mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 17:39:31 +02:00
* Fixed test to be locale independent.
git-svn-id: trunk@10697 -
This commit is contained in:
parent
b0e41fdf4b
commit
4c769f6148
@ -6,6 +6,6 @@ var
|
||||
ef : Extended;
|
||||
begin
|
||||
ef := 12;
|
||||
if (FormatFloat('#.#######E-0',ef) <> '1.2E1') then
|
||||
if (FormatFloat('#.#######E-0',ef) <> '1'+DecimalSeparator+'2E1') then
|
||||
halt(1);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user