Skip to content

NumberRounded

Description

NumberRounded is a Function on Random
Returns a random number between the two given numbers (inclusive max and min), and then rounds it to the nearest integer.

Example
local testVariable = Random.NumberRounded(1.0, 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: int
parameters:
- min (float)
- max (float)