Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / ToNumber Method / ToNumber(TimeSpan) Method


In This Topic
    ToNumber(TimeSpan) Method
    In This Topic
    Convert timeSpan to number.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ToNumber( _
       ByVal time As TimeSpan _
    ) As Double
    'Usage
     
    
    Dim time As TimeSpan
    Dim value As Double
     
    value = CalcHelper.ToNumber(time)
    public static double ToNumber( 
       TimeSpan time
    )

    Parameters

    time

    Return Value

    A double value represents the timespan serial.
    See Also