From 96316c66dc83d4f05e158c8c3238340d019e6185 Mon Sep 17 00:00:00 2001 From: Matthew Emery <49573837+memery-rbx@users.noreply.github.com> Date: Mon, 18 Jul 2022 12:36:23 -0700 Subject: [PATCH] Documentation of round tie-breaking (#602) * Update library.md * Tie-breaking documentation for round --- docs/_pages/library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/library.md b/docs/_pages/library.md index 6ca2c05..d82b6f2 100644 --- a/docs/_pages/library.md +++ b/docs/_pages/library.md @@ -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