From: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Round Numeric Type
Date: Tue, 31 Oct 2006 17:35:17 -0200
Message-ID: <55c095e90610311135l101f6a91s433e6d7e5b90cb7c@mail.gmail.com> (raw)
Hi list,
I did a trigger to update a points on a table but in some cases the
PostgreSQL does a round of my Numeric like.
If >= 0.5 so postgresql puts 1
If < 0.5 so postgresql puts 0
Did anybody knows if it is possible to control this matter ?
Regards
Ezequias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ezequias.rocha@gmail.com
Subject: Re: Round Numeric Type
In-Reply-To: <55c095e90610311135l101f6a91s433e6d7e5b90cb7c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox