Does anyone know if there is an equivalent to the "CEILING" function, available in SQL server, in Informix?
For any Informix officionados who don't know SQL Server, the ceiling function rounds up a number to the next whole number, regardless of the decimal portion of a number. For example
SELECT CEILING(4.2) --returns 5
--or--
SELECT CEILING(5) --returns 5
--or--
SELECT CEILING(5.2 + 7.1) --returns 13
I need equivalent functionality and couldn't find any hints in the informix docs.
Many thanks,