[fpc-devel] RFC: TParam.AsBCD vs. AsFMTBCD
LacaK
lacak at zoznam.sk
Wed Feb 23 10:17:01 CET 2011
Hi,
we have in fcl-db TField.AsBCD: TBCD; but we do not have TParam.AsBCD,
nor TParam.AsFMTBCD
Delphi defines:
TParam.AsBCD: Currency ...
http://docwiki.embarcadero.com/VCL/XE/en/DB.TParam.AsBCD
TParam.AsFMTBCD: TBCD ...
http://docwiki.embarcadero.com/VCL/XE/en/DB.TParam.AsFMTBCD
But for me sounds more logical and consistent, that TParam.AsBCD will be
like TField.AsBCD so result type will be TBCD
(TParam.AsBCD: Currency is more like TParam.AsCurrency: Currency)
So what way to go ?
1. TParam.AsBCD: TBCD
2. TParam.AsFMTBCD: TBCD
Laco.
More information about the fpc-devel
mailing list