Subject Re: [firebird-support] best datatype for storing an amount of money
Author Alexandre Benson Smith
frische_brise2003 wrote:

>Hi, all.
>
>which is the best datatype to store
>the price of a product?
>A float?
>
>Regards
>
>Jürgen
>
>
Jurgen,

Use numeric(X,Y) to store with a defined precision, floats are not
precise values.

See you !

--

Alexandre Benson Smith
Development
THOR Software e Comercial Ltda.
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br