Explorar o código

pastojs: fixed const eval float - currency, bug #34936

git-svn-id: trunk@41026 -
Mattias Gaertner %!s(int64=6) %!d(string=hai) anos
pai
achega
f0a8b07e3e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-passrc/src/pasresolveeval.pas

+ 1 - 1
packages/fcl-passrc/src/pasresolveeval.pas

@@ -1865,7 +1865,7 @@ begin
       // float - currency
       try
         {$Q+}
-        aCurrency:=aCurrency - TResEvalCurrency(RightValue).Value;
+        aCurrency:=Flo - TResEvalCurrency(RightValue).Value;
         {$IFNDEF OverflowCheckOn}{$Q-}{$ENDIF}
         Result:=TResEvalCurrency.CreateValue(aCurrency);
       except