Navigation: thinBasic Modules > Core > Numeric handling > RNDF |
|
Description
Return a random number in the range of nFrom - nTo.
Returned value is as Extended-precision floating point number.
Syntax
n = RNDF(nFrom, nTo [, nDecimals])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
nFrom |
Number |
No |
Lower limit |
nTo |
Number |
No |
Upper limit |
nDecimals |
Number |
Yes |
Number of decimal places to round to |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |