mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Documentation of round tie-breaking (#602)
* Update library.md * Tie-breaking documentation for round
This commit is contained in:
parent
5b2e39c922
commit
96316c66dc
@ -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 New Issue
Block a user