random decimal for random

deprecated: Generate a random float within a range [min..max].

Signature

> random decimal (range)

Parameters

  • range: Range of values

Input/output types:

inputoutput
nothingnumber

Examples

Generate a default float value between 0 and 1

> random decimal

Generate a random float less than or equal to 500

> random decimal ..500

Generate a random float greater than or equal to 100000

> random decimal 100000..

Generate a random float between 1.0 and 1.1

> random decimal 1.0..1.1

Notes

Use random float instead