Documentation

Random Double - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Math :: Random Double

Root.Math.RandomDouble(
  Minimum Double,
  Maximum Double
) Double
Returns a random floating-point number inclusive of the specified range

Parameters

Minimum Double
Lower bound of the random number to be generated
Maximum Double
Upper bound of the random number to be generated

Return Value

Double

Lua Usage

local double = math:RandomDouble(minimum, maximum)

If you think anything is missing, please feel free to: submit documentation feedback on this page