[ decimal_random ] provides a random decimal. When called with the optional upper and lower params will provide a random decimal between the parameters. Lower defaults to 0.0 when not provided. The method will automatically swap upper and lower if upper is smaller than lower.
decimal_random() //returns a random decimal between 0 and 1
decimal_random(10, 1) //returns a random decimal between 10 and 1
decimal_random(12) //returns a random decimal between 12 and 0
decimal_random(-upper=22, -lower=12) //returns a random decimal between 22 and 12
No examples found
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments