“Rounding1” (Solution)
Last updated
Was this helpful?
Last updated
Was this helpful?
If the number is exactly halfway between two possibilities, the following rules will work:
rounds to the nearest even integer (by default).
rounds down towards the negative infinity.
rounds up towards the positive infinity.
rounds down or up towards zero.
rounds towards the number away from zero.