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

Returns a random decimal that is within the indicated range

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

Syntax


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

Parameters

minValue
Type: Decimal
The inclusive minimum value.
maxValue
Type: Decimal
The exclusive maximum value.

Return Value

Exceptions


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