Subject Re: [IBO] Is CURRENCY field column attributes ignored?
Author Marco Menardi
--- In IBObjects@y..., "Geoff Worboys" <geoff@t...> wrote:
I've no time now for a deep study of your suggestions (I program only
late nights, and now is 9.40am,so bad ;)).
But I jast want to say that currency is mainly useful for monetary
values, so for Usa ($) and Europe (Euro) it's paramount using it with
a 2 digit scale (i.e. (15,2) or (18,2)). Having onli a ,4 managed as
INT64 is a bad thing.
Moreover, I'm surprised that even with a 15,2 definition, using IBO
and it's "bug" lets me store very huge numbers. Seems that Interbase
does not make any check by itself, it only stores the value as INT64.
So since Delphi Currency is already a INT64, what will happend if we
send it's memory image to Interbase directly? It could worth
investigate. Having a look to IBX code semms the way it works.
Marco Menardi