RandomFloat: 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|__EDIT_ME__}}
{{FuncDescription|Get a pseudo-random float.}}


{{FuncSyntax|RandomFloat([, Min, Max])}}
{{FuncSyntax|RandomFloat([, Min, Max])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParamOptional|Min|__EDIT_ME__}}
{{FuncParamOptional|Min|The minimum float.}}
{{FuncParamOptional|Max|__EDIT_ME__}}
{{FuncParamOptional|Max|The maximum float.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the random float between the range.}}


== Example ==
== Example ==
Line 15: Line 15:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[Random]]

Revision as of 13:49, 16 November 2019

RandomFloat

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get a pseudo-random float.

Syntax

RandomFloat([, Min, Max])

Parameters

  • Min (optional)
    The minimum float.
  • Max (optional)
    The maximum float.

Return Value

  • Returns the random float between the range.

Example

__EDIT_ME__

See also