Round a given number so it is further away from zero. That is, positive numbers are rounded up, and negative numbers are rounded down.
name | type | description |
---|---|---|
value | number |
The number to round. |
The rounded number, rounded away from zero.