I want to round up a no based on few conditions
1) if the values are in the range of 0.01 to 0.99 then it should be 1
2) if the values are above 1 then a) Check the decimal if it is less than 0.2 i.e- 1.2 then round down to 1
b) Check the decimal if it is more than 0.2 i.e- 1.21 then round up to 2
Eg
Question Answer
0,22 1 1,70 2 19,95 20 4,66 5 6,40 7 2,96 3 0,37 1 1,27 2 11,12 11 1,43 2 1,30 2 4,23 5 1,66 2 15,02 15 1,70 2 3,20 3 4,30 5 1,21 2 12,37 13 2,16 2 1,11 1