* Fix bug #0034288, wrong check when converting floats

git-svn-id: trunk@39758 -
This commit is contained in:
michael 2018-09-16 12:03:36 +00:00
parent 1602d3743c
commit 8307e46e4b

View File

@ -1967,7 +1967,7 @@ begin
else
begin
Val(CurrentToken,X,C);
If (I=0) then
If (C=0) then
Result:=TFPConstExpression.CreateFloat(X)
else
ParserError(Format(SErrInvalidFloat,[CurrentToken]));