Browse Source

tests: fix test for locales with DecimalSeparator <> '.'

git-svn-id: trunk@15123 -
paul 15 years ago
parent
commit
36125b623a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/webtbs/tw16188.pp

+ 1 - 0
tests/webtbs/tw16188.pp

@@ -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);