Subject | Re: [firebird-support] NUMERIC(18,6) PRECISION |
---|---|
Author | Martijn Tonies |
Post date | 2005-06-21T16:39:28Z |
Hi,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
> I have my currency fields defined to be a NUMERIC(18,6), but I haveYes, use a dialect 3 database.
> precision problems.
>
> If I enter this value: -654646 FB stores this: -654646,000000000116
> Is there any way of avoiding this?
> What is the best format for currency values?Numeric, in dialect 3.
> I can't use this in my apps, because if I compare the user -654646 is <>With regards,
> of the DB -654646,000000000116,
> and this will cause many conflicts.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com