Bridge

Decimal..::..Random Method

Returns a new Decimal with a pseudo-random value equal to or greater than 0 and less than 1.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public static decimal Random(
	int dp
)
Public Shared Function Random ( _
	dp As Integer _
) As Decimal
public:
static Decimal^ Random(
	int^ dp
)

Parameters

dp
Type: System..::..Int32
The return value will have dp decimal places (or less if trailing zeros are produced). If dp is omitted then the number of decimal places will default to the current precision setting.

Return Value