mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 06:00:29 +02:00
tests: fix test for locales with DecimalSeparator <> '.'
git-svn-id: trunk@15123 -
This commit is contained in:
parent
c62c487b24
commit
36125b623a
@ -35,6 +35,7 @@ end;
|
|||||||
var ext:extended;
|
var ext:extended;
|
||||||
str: shortstring;
|
str: shortstring;
|
||||||
begin
|
begin
|
||||||
|
DecimalSeparator:='.';
|
||||||
ext:=234.56789;
|
ext:=234.56789;
|
||||||
check(FloatToStrF(ext,ffGeneral,4,1),1);
|
check(FloatToStrF(ext,ffGeneral,4,1),1);
|
||||||
check(FloatToStrF(ext,ffGeneral,5,1),2);
|
check(FloatToStrF(ext,ffGeneral,5,1),2);
|
||||||
|
Loading…
Reference in New Issue
Block a user