MySQL Forums
Forum List  »  Newbie

CEILING test on mysql-5.0.4 beta win32
Posted by: nicolas.vignal
Date: May 11, 2005 07:08AM

Hi

I'm doing some tests on mysql, and I have a question :

Why

SELECT CEILING(1.11) FROM DUAL return 2

and

SELECT CEILING(1.01) FROM DUAL return 1 ( and not 2 )

?

I did the test on mysql-5.0.4 beta win32


Thanks for your help.


Regards

Nicolas

Options: ReplyQuote


Subject
Written By
Posted
CEILING test on mysql-5.0.4 beta win32
May 11, 2005 07:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.