Round
7/14/25Less than 1 minute
Mathf.Round(number f)
Returns f rounded to the nearest integer.
Parameters:
Name | Type | Description |
---|---|---|
f | number | Value |
Returns:
type | Description |
---|---|
number | f rounded to the nearest integer. |
Usage
---@type number
local f;
local val0 = Mathf:Round(f)