| CMATHrRand Method |
Get a random number between 0 and 1
Available since Oasis montaj version: 6.3
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Use SRand_MATH to seed the random number generator before a series of
calls to this function are made.
The standard "C" function rand() is called.
Syntax public static double rRand(
CGXNETCore gxNetShared
)
Public Shared Function rRand (
gxNetShared As CGXNETCore
) As Double
public:
static double rRand(
CGXNETCore^ gxNetShared
)
static member rRand :
gxNetShared : CGXNETCore -> float
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
Return Value
Type:
DoubleA real number
See Also