28 lines
946 B
Plaintext

{
"name": "randf",
"type": "function",
"groups": ["Math"],
"description": "Returns a random float within the range specified by the minimum and maximum argument (inclusive). If a seed is provided, the returned will always be the same, depending on the seed.",
"arguments": [{
"arg": "min",
"optional": true,
"default": "0.0",
"description": "an float representing the smallest possible random number desired"
}, {
"arg": "max",
"optional": true,
"default": "1.0",
"description": "an float representing the largest possible random number desired"
}, {
"arg": "seed",
"optional": true,
"default": "NULL",
"description": "any value to use as seed"
}],
"examples": [{
"expression": "randf(1, 10)",
"returns": "4.59258286403147"
}],
"tags": ["random", "specified", "range", "argument", "seed", "same", "provided", "float", "minimum", "maximum", "inclusive", "depending"]
}