mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 10:19:28 +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;
|
||||
str: shortstring;
|
||||
begin
|
||||
DecimalSeparator:='.';
|
||||
ext:=234.56789;
|
||||
check(FloatToStrF(ext,ffGeneral,4,1),1);
|
||||
check(FloatToStrF(ext,ffGeneral,5,1),2);
|
||||
|
Loading…
Reference in New Issue
Block a user