Hello everybody,
I'm trying to convert two values and ceil it but my result is zero. Could anyone shed some light on this issue.
Example
SELECT CEIL(4/60), CEIL(0.06)
FROM SYSIBM.SYSDUMMY1
MY RESULT SET WAS 0, 1.0
Could anyone explain why I'm getting dive in ceil when i divide 4/6. I tried this in DB2 FOR OS/390 vERSION 6.1
Thanks in advance!
I'm trying to convert two values and ceil it but my result is zero. Could anyone shed some light on this issue.
Example
SELECT CEIL(4/60), CEIL(0.06)
FROM SYSIBM.SYSDUMMY1
MY RESULT SET WAS 0, 1.0
Could anyone explain why I'm getting dive in ceil when i divide 4/6. I tried this in DB2 FOR OS/390 vERSION 6.1
Thanks in advance!