Browse Source

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

git-svn-id: trunk@41026 -
Mattias Gaertner 6 years ago
parent
commit
f0a8b07e3e
1 changed files with 1 additions and 1 deletions
  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