Subject | Re: [firebird-support] best datatype for storing an amount of money |
---|---|
Author | Alexandre Benson Smith |
Post date | 2004-06-22T21:52:52Z |
frische_brise2003 wrote:
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
>Hi, all.Jurgen,
>
>which is the best datatype to store
>the price of a product?
>A float?
>
>Regards
>
>Jürgen
>
>
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