Random: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server & Client|1.0}} | {{Info|Function|Server & Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get a pseudo-random number.}} | ||
{{FuncSyntax|Random([, Min, Max])}} | {{FuncSyntax|Random([, Min, Max])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParamOptional|Min| | {{FuncParamOptional|Min|The minimum number.}} | ||
{{FuncParamOptional|Max| | {{FuncParamOptional|Max|The maximum number.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns the random between the range.}} | ||
== Example == | == Example == | ||
Line 15: | Line 15: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[RandomFloat]] |
Revision as of 13:49, 16 November 2019
Description
Get a pseudo-random number.
Syntax
Random([, Min, Max])
Parameters
- Min (optional)
The minimum number. - Max (optional)
The maximum number.
Return Value
- Returns the random between the range.
Example
__EDIT_ME__