+ 1

How to get round up value of and avg number in oracle.

I need to calculate average value and then round it up, can any one tell me, or upvote this

10th Jan 2019, 7:53 PM
Prashant Mishra
Prashant Mishra - avatar
3 Answers
+ 1
It will only round up value to next decimal value, like 5.76 to 5.8 but instead of this i want answer as "6" which is the next integer value
11th Jan 2019, 8:09 AM
Prashant Mishra
Prashant Mishra - avatar
+ 1
In Oracle Database: CEIL(AVG(value)) Use proper tags please, its very confusing what your question is related to.
10th Jan 2019, 9:21 PM
Tibor Santa
Tibor Santa - avatar
0
CEIL returns smallest integer greater than or equal to n. https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions017.htm
11th Jan 2019, 8:17 AM
Tibor Santa
Tibor Santa - avatar