float to int

From: "Charles(dot)Hou" <ivan(dot)hou(at)msa(dot)hinet(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: float to int
Date: 2007-11-12 06:33:06
Message-ID: 1194849186.336562.29020@i13g2000prf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

how can i get the int value using the sql language? like this,

"select cost from my_money_table " , the data type of cost is float.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2007-11-12 09:50:48 Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Previous Message Sushant Sinha 2007-11-12 03:46:50 Re: Fragments in tsearch2 headline