[orm-devel] Introduction, thanks and a couple of comments on
the 0.7 release
Admin
orm-devel@mailman.tux4web.de
07 Dec 2002 09:31:28 +0000
> As you know a float point number is not what you want to use for
> monetary arithmetic. You might want to use integers describing the
> number of cents or PostgreSQL's MONEY type. The latter, btw, comes
> back as a string from the database like this:
>
> "$100,25"
>
> but at least the SQL internal math should work.
>
PostgreSQL's MONEY type has been deprecated, we are advised to use
NUMERIC or DECIMAL.