Lasso Soft Inc. > Home

[ sys_drand48 ]


This method corresponds to the system's drand48() function. It generates pseudo-random number using a linear congruential algorithm and 48-bit integer arithmetic. This method returns decimal values uniformly distributed over the interval [0.0 , 1.0].

Consult your operating system's documentation for the exact behavior of this method.

  • Syntax
  • Beginner

Generate a series of 10 random numbers.


with n in 1 to 10 select sys_drand48


0.204434, 0.472009, 0.846898, 0.804596, 0.723945, 0.540479, 0.749870, 0.211783, 0.995562, 0.603029
This result value will vary.

Recent Comments

No Comments 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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft