Subject | Displayformat, Editformat, floating point conversion |
---|---|
Author | Ralph Juhnke |
Post date | 2001-07-23T12:29:26Z |
hi,
i am having certain problems using
the Displayformat/Editformat properties
with TIBOQuery.
code Sample:
InComingPaymentAMOUNT_PAID.DisplayFormat := ',0.00';
InComingPaymentAMOUNT_PAID.DisplayFormat := '0.00';
aFloatValue := 100000;
//
// the following line raises an EConvertError
// like '100.000,00 is not a valid floating point value ...'
//
InComingPaymentAMOUNT_PAID.AsFloat := aFloatValue;
Currently i am using 3.6Di.
Is it a known issue ?
Am i misusing the properties ?
Any workarounds ...
TIA
Ralph
i am having certain problems using
the Displayformat/Editformat properties
with TIBOQuery.
code Sample:
InComingPaymentAMOUNT_PAID.DisplayFormat := ',0.00';
InComingPaymentAMOUNT_PAID.DisplayFormat := '0.00';
aFloatValue := 100000;
//
// the following line raises an EConvertError
// like '100.000,00 is not a valid floating point value ...'
//
InComingPaymentAMOUNT_PAID.AsFloat := aFloatValue;
Currently i am using 3.6Di.
Is it a known issue ?
Am i misusing the properties ?
Any workarounds ...
TIA
Ralph