round() and cast to numeric

From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: round() and cast to numeric
Date: 2008-03-31 10:56:34
Message-ID: 20080331125634.25638bde@webthatworks.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've some real around and some round as well.
round() just accept dp and numeric.

What' going to be the difference between casting to numeric and
rounding?

thx

--
Ivan Sergio Borgonovo
http://www.webthatworks.it

Browse pgsql-general by date

  From Date Subject
Next Message Pettis, Barry 2008-03-31 11:20:56 Re: Using tables in other PostGreSQL database
Previous Message Craig Ringer 2008-03-31 10:10:26 Re: Removing redundant itemsets