Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields.Maps Namespace / Util Class / GetDouble Method / GetDouble(Object,Double) Method
The object to convert.
The default value.

In This Topic
    GetDouble(Object,Double) Method
    In This Topic
    Converts an object to a double value.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetDouble( _
       ByVal value As Object, _
       ByVal defaultValue As Double _
    ) As Double
    public static double GetDouble( 
       object value,
       double defaultValue
    )

    Parameters

    value
    The object to convert.
    defaultValue
    The default value.

    Return Value

    The converted value, or defaultValue if the object could not be converted.
    See Also