This site is supported by donations to The OEIS Foundation.

# Round

**Round**, by default, corresponds to rounding towards **nearest integer**; if equidistant (this happens with even bases) to two nearest integers, then rounding towards nearest even integer [balanced rounding]. With balanced rounding, if we have a random half-integer, then the probabilities of rounding up or rounding down are equal (both 50%).

**Round** to multiple of corresponds to rounding towards nearest multiple of ; if equidistant to two nearest multiples of , then rounding towards nearest even multiple of [balanced rounding]. With balanced rounding, if we have a random half-multiple of , then the probabilities of rounding up or rounding down are equal (both 50%). The default meaning of round thus means **round** to multiple of 1. We may also round to multiple of a noninteger, e.g. round to multiple of 0.01. In base , it is customary to round to a multiple of a given power of , the default being

## See also

- Help:Calculation#Round operator (rounds towards a multiple of a given power of 10)