Subject | Re: [firebird-support] Currency |
---|---|
Author | Christian Gütter |
Post date | 2004-04-05T23:16:17Z |
Hi Steffen,
If Java cannot handle Numerics properly, you are right using integer.
Most people use Delphi or C++ Builder in combination with
Interbase/Firebird - and these language support Numeric.
So then you are better off using Numeric instead of Integer.
Sorry for the confusion.
Christian
> My problem lies beside the database. I need to get this information out ofyou are right - I misunderstood your posting.
> the database and back into it.
> And on the Java-side I do not want to handle all those rounding troubles.
> Therefor I just define money as a lot of Cents.
> Therefor currency fits very well into an ordinary INTEGER.
If Java cannot handle Numerics properly, you are right using integer.
Most people use Delphi or C++ Builder in combination with
Interbase/Firebird - and these language support Numeric.
So then you are better off using Numeric instead of Integer.
Sorry for the confusion.
Christian