ActiveReports 12
Rnd(Single) Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > VBMath Class > Rnd Method : Rnd(Single) Method
Optional. A Single value or any valid Single expression.
Returns a random number of type Single.
Syntax
'Declaration
 
Public Overloads Shared Function Rnd( _
   ByVal number As Single _
) As Single
public static float Rnd( 
   float number
)

Parameters

number
Optional. A Single value or any valid Single expression.

Return Value

If number is less than zero, Rnd generates the same number every time, using number as the seed. If number is greater than zero, Rnd generates the next random number in the sequence. If number is equal to zero, Rnd generates the most recently generated number. If number is not supplied, Rnd generates the next random number in the sequence.
See Also

Reference

VBMath Class
VBMath Members
Overload List