FlexReport for WinForms | ComponentOne
C1.Win.Document.6 Assembly / C1.Win.Document Namespace / Utils Class / TryObjectAsDouble Method
The object to be converted.
System.Globalization.CultureInfo used for conversion.
The System.Double result.

In This Topic
    TryObjectAsDouble Method (Utils)
    In This Topic
    Tries convert object to double.
    Syntax
    'Declaration
     
    Public Shared Function TryObjectAsDouble( _
       ByVal obj As Object, _
       ByVal cultureInfo As CultureInfo, _
       ByRef value As Double _
    ) As Boolean
    public static bool TryObjectAsDouble( 
       object obj,
       CultureInfo cultureInfo,
       out double value
    )

    Parameters

    obj
    The object to be converted.
    cultureInfo
    System.Globalization.CultureInfo used for conversion.
    value
    The System.Double result.

    Return Value

    True if s was converted successfully; otherwise, false.
    See Also