Skip to content

Commit

Permalink
Documentation of round tie-breaking (#602)
Browse files Browse the repository at this point in the history
* Update library.md

* Tie-breaking documentation for round
  • Loading branch information
memery-rbx committed Jul 18, 2022
1 parent 5b2e39c commit 96316c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_pages/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Returns `-1` if `n` is negative, `1` if `n` is positive, and `0` if `n` is zero
function math.round(n: number): number
```

Rounds `n` to the nearest integer boundary.
Rounds `n` to the nearest integer boundary. If `n` is exactly halfway between two integers, rounds `n` away from 0.

## table library

Expand Down

0 comments on commit 96316c6

Please sign in to comment.