Round Numeric Type

From: "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Round Numeric Type
Date: 2006-10-31 19:35:17
Message-ID: 55c095e90610311135l101f6a91s433e6d7e5b90cb7c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jose 2006-10-31 19:50:20 Composite Types
Previous Message Aaron Bono 2006-10-31 19:32:59 Re: Table Relationships