ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / VBMath Class / Rnd Method / Rnd(Single) Method
Optional. A Single value or any valid Single expression.

In This Topic
    Rnd(Single) Method
    In This Topic
    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