mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 01:09:27 +02:00
fcl-db: fields: use new implemented FormatBCD function to format TFMTBCDField. Depends on rev.24128! Bug #24096
git-svn-id: trunk@24130 -
This commit is contained in:
parent
95e6be9853
commit
c844ae8cb5
@ -2622,8 +2622,7 @@ begin
|
||||
else
|
||||
fmt := FEditFormat;
|
||||
if fmt<>'' then
|
||||
TheText := BCDToStr(bcd)
|
||||
//TheText := FormatBCD(fmt,bcd) //uncomment when formatBCD in fmtbcd.pp will be implemented
|
||||
TheText := FormatBCD(fmt,bcd)
|
||||
else if fCurrency then begin
|
||||
if aDisplayText then
|
||||
TheText := BcdToStrF(bcd, ffCurrency, FPrecision, 2)
|
||||
|
Loading…
Reference in New Issue
Block a user