Browse Source

* added DecimalSeparator:='.'; to make test locale independent.

git-svn-id: trunk@4113 -
yury 19 years ago
parent
commit
d56fc311df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/test/tstrreal3.pp

+ 1 - 0
tests/test/tstrreal3.pp

@@ -10,6 +10,7 @@ var
  e: extended;
  e: extended;
  r: double;
  r: double;
 begin
 begin
+ DecimalSeparator:='.';
  e := 234.502;
  e := 234.502;
  Result := FloatToStrF(e, ffGeneral, 15, 0);
  Result := FloatToStrF(e, ffGeneral, 15, 0);
 // Memo1.Lines.Add(Result);      { prints 234.502  }
 // Memo1.Lines.Add(Result);      { prints 234.502  }