2015-06-11 12:02:27 +10:00
|
|
|
{
|
2015-09-20 17:12:43 +02:00
|
|
|
"name": "randf",
|
|
|
|
"type": "function",
|
2015-06-11 12:02:27 +10:00
|
|
|
"description": "Returns a random float within the range specified by the minimum and maximum argument (inclusive).",
|
2016-03-29 16:22:04 +11:00
|
|
|
"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"}],
|
2015-06-11 12:02:27 +10:00
|
|
|
"examples": [ { "expression":"randf(1, 10)", "returns":"4.59258286403147"}]
|
|
|
|
}
|