mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
Documentation of round tie-breaking (#602)
* Update library.md * Tie-breaking documentation for round
This commit is contained in:
parent
5b2e39c922
commit
96316c66dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue