ActiveReports 12
Rnd() Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > VBMath Class > Rnd Method : Rnd() Method
Returns a random number of type Single.
Syntax
'Declaration
 
Public Overloads Shared Function Rnd() As Single
public static float Rnd()

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