Navigation: Scripting Reference Manual > Functions & Subroutines > RanDbl

 

RanDbl

 

Contact Us: fredsupport@photonengr.com

 

Description

This function returns a high quality random number (type Double) using an algorithm that is suited for multi-threading.  This random number generator should be used in place of the BASIC Rnd() function. RanDbl is functionally identical to, and overcomes the limitation of, the GetRandomDouble script command which can be used only in a script associated with a FRED Document.

 

Syntax

dRand = RanDbl()

 

 

Parameters

dRand As Double

Returned high quality random number.

 

 

See Also

Math Script Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC