Spread WPF Documentation
GrapeCity.CalcEngine.Functions Namespace / CalcRandBetweenFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 items: bottom, top.

Bottom is the smallest integer RANDBETWEEN will return.

Top is the largest integer RANDBETWEEN will return.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns a random integer number between the numbers you specify.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcRandBetweenFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 items: bottom, top.

    Bottom is the smallest integer RANDBETWEEN will return.

    Top is the largest integer RANDBETWEEN will return.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also