PL / SQL function in two rounding (CEIL and the FLOOR)

The following two functions are not rounded off is calculated.

1.CEIL function (this is smaller than 5, most automatic or 1 to 5)

SELECT CEIL(9.4) FROM DUAL

Here Insert Picture Description

2.FLOOR function (this is smaller than 5, most or decremented by 1 to 5)

SELECT FLOOR(9.4) FROM DUAL

Here Insert Picture Description

Published 153 original articles · won praise 15 · Views 150,000 +

Guess you like

Origin blog.csdn.net/beyond911/article/details/103644406