round

round(x)

round(x, n)

round(unit, valuelessUnit)

round(unit, n, valuelessUnit)

round a value towards the nearest integer.If x is complex, both real and imaginary part are rounded towards the nearest integer. When n is specified, the value is rounded to n decimals.

Try it yourself:

See also:
All functions