Spread Windows Forms 15.0
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcConvert Class / TryConvert Method / TryConvert(Object,Double) Method
The value.
The double value.


In This Topic
    TryConvert(Object,Double) Method
    In This Topic
    Convert a value to double value. The converted value is matched with IsNumber function.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function TryConvert( _
       ByVal value As Object, _
       ByRef doubleValue As Double _
    ) As Boolean
    'Usage
     
    
    Dim value As Object
    Dim doubleValue As Double
    Dim value As Boolean
     
    value = CalcConvert.TryConvert(value, doubleValue)
    public static bool TryConvert( 
       object value,
       ref double doubleValue
    )

    Parameters

    value
    The value.
    doubleValue
    The double value.
    See Also