Subject | Re: [firebird-support] 6 decimals |
---|---|
Author | Anderson Farias |
Post date | 2008-06-11T14:02:26Z |
Hi,
if this is the same on D2007 but with older versions, currency suports only
4 decimal places. Can you confirm that?
Have you tryed DECIMAL (15,6) and see if it results the same behavior?!
the most popular (ad great component sets) are IBO and FIB Plus, with the
last being the most easy to migrate from IBX since they come from the same
initial code in the past.
Regards,
Anderson Farias
> I have a field in my database, that isWell, I'd say IBX is creating your fields as TCurrencyFields, I'm not sure
> CURS_VALUTA DECIMAL (18, 6) - need this because of transactions to/from
> HUF
> (hungarian forints - euro - RON Romanian lei). One HUF = 0.014687 RON ;
> One
> HUF = 0.004023 euro
> var
> curs_valuta: Extended;
> curs_valuta:=my_query.fieldbyname('curs_valuta').AsFloat;
> here local variable curs_valuta receives 0.0015
if this is the same on D2007 but with older versions, currency suports only
4 decimal places. Can you confirm that?
Have you tryed DECIMAL (15,6) and see if it results the same behavior?!
> Asked about this in borland.public.delphi.ide - they said I should useIf you're willing to pay for (and I must say, they're not expansive at all)
> proper component set, not IBX, to access the data. Can you help me in
> chosing one replacement for IBX ?
the most popular (ad great component sets) are IBO and FIB Plus, with the
last being the most easy to migrate from IBX since they come from the same
initial code in the past.
Regards,
Anderson Farias