I want to round decimal number as follows:-
n = 3.2 result n = 3
n= 3.6 result n= 4
Basically if decimal is between .0 to .4 then it should round down AND if decimal is between .5 to .9 then it should round up.
n = 3.0 result = 3
n = 3.5 result = 3.5