|
|||||||||||
|
[GENERAL] Simple math statement - problem
From: Postgres User <postgres.developer(at)gmail.com>
Date: Fri Nov 30 2007 - 00:22:01 EST
Each of these statements return a 0, even when properly cast:
select 1/100
How can I write statements that returns a decimal? The problem doesn't appear to be that Postgres won't return decimal values, as these statements return the correct value:
select .01
---------------------------(end of broadcast)---------------------------TIP 5: don't forget to increase your free space map settings Received on Fri Nov 30 05:05:14 2007 This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 20:57:35 EDT |
||||||||||
|
|||||||||||