mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 13:27:15 +01:00
fcl-db: mysql: fix return type of function InternalStrToCurrency. Revealed by test: TestSupportBCDFields
git-svn-id: trunk@30155 -
This commit is contained in:
parent
94a2fbb20d
commit
1e536926e1
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user