S&box Wiki

Sandbox.Rand.Float

Syntax

static float Float( float max = 1 )

Description

Returns a random float between 0 and max (or 1)

Arguments

float max 1

Returns

float