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:
lacak 2013-04-02 11:40:43 +00:00
parent 95e6be9853
commit c844ae8cb5

View File

@ -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)