Thread: Bug in CEIL?

Bug in CEIL?

From
"Mark Alliban"
Date:
Is the following normal behaviour? I would have expected a result of 0.
 
 
Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.3 on i586-pc-sco3.2v5.0.4, compiled by gcc 2.7.2.3]
 
   type \? for help on slash commands
   type \q to quit
   type \g or terminate with semicolon to execute query
 You are currently connected to the database: template1
 
template1=> select ceil(0);
ceil
----
   1
(1 row)