ArcFM Responder Mobile Developer Guide
ToDouble Method






A value to convert
The conversion value for null and DBNull values
DBNull and null aware conversion to double
Syntax
'Declaration
 
Public Shared Function ToDouble( _
   ByVal value As System.Object, _
   ByVal nullValue As System.Double _
) As System.Double
'Usage
 
Dim value As System.Object
Dim nullValue As System.Double
Dim value As System.Double
 
value = DbConvert.ToDouble(value, nullValue)
public static System.double ToDouble( 
   System.object value,
   System.double nullValue
)
public function ToDouble( 
    value: System.TObject;
    nullValue: System.Double
): System.Double; static; 
public static function ToDouble( 
   value : System.Object,
   nullValue : System.double
) : System.double;
public: static System.double ToDouble( 
   System.Object* value,
   System.double nullValue
) 
public:
static System.double ToDouble( 
   System.Object^ value,
   System.double nullValue
) 

Parameters

value
A value to convert
nullValue
The conversion value for null and DBNull values

Return Value

The double equivalent of the input value
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DbConvert Class
DbConvert Members

Send Feedback