Yes, there is if you are allowed to have an integer function, [x], which means the integer part of x.
The general formula for rounding to n places is r(x)=[10ⁿx+0.5]/10ⁿ where r is the rounding function.
When n=0 there are no decimal places and the rounding is to the nearest integer, r(x)=[x+0.5].
When n is negative it refers to the nearest ten, hundred and so on.
EXAMPLES
n=0, x=14.4; r(14.4)=[14.9]=14.
n=0, x=14.5; r(14.5)=[15.0]=15.
n=1, x=2.58; r(2.58)=[25.8+0.5]/10=[26.3]/10=26/10=2.6.
n=-2 (round to the nearest hundred), x=4321;
r(4321)=[43.21+0.5]×100=[43.71]×100=43×100=4300 because 1/10⁻²=10²=100, so dividing by 10⁻² is the same as multiplying by 10²:
n=-2, x=9876; r(9876)=[98.76+0.5]×100=[99.26]×100=9900.