RandomExtended..::..NextDecimal Method (Decimal)

Returns a random decimal that is less than maxValue

Namespace:  Tortuga.Anchor
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public decimal NextDecimal(
	decimal maxValue
)
Public Function NextDecimal ( _
	maxValue As Decimal _
) As Decimal

Parameters

maxValue
Type: Decimal
The exclusive maximum value.

Return Value

Exceptions


ExceptionCondition
[ArgumentOutOfRangeException]maxValue;maxValue must be greater than or equal to 0.