瀏覽代碼

fcl-db: mysql: fix return type of function InternalStrToCurrency. Revealed by test: TestSupportBCDFields

git-svn-id: trunk@30155 -
lacak 10 年之前
父節點
當前提交
1e536926e1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

+ 3 - 3
packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

@@ -214,8 +214,8 @@ implementation
 
 uses
   dbconst,
-  strutils,
-  dateutils,
+  StrUtils,
+  DateUtils,
   FmtBCD;
 
 const
@@ -856,7 +856,7 @@ begin
   Result := StrToFloat(Tmp);
 end;
 
-function InternalStrToCurrency(const S: string): Extended;
+function InternalStrToCurrency(const S: string): Currency;
 
 var
   I: Integer;