Spread for ASP.NET 7.0 Product Documentation
TryConvert(Object,Double) Method
See Also  Support Options
FarPoint.CalcEngine Assembly > FarPoint.CalcEngine Namespace > CalcConvert Class > TryConvert Method : TryConvert(Object,Double) Method


value
The value.
doubleValue
The double value.

Glossary Item Box

Convert a value to double value. The converted value is matched with IsNumber function.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function TryConvert( _
   ByVal value As Object, _
   ByRef doubleValue As Double _
) As Boolean
Visual Basic (Usage)Copy Code
Dim value As Object
Dim doubleValue As Double
Dim value As Boolean
 
value = CalcConvert.TryConvert(value, doubleValue)
C# 
public static bool TryConvert( 
   object value,
   ref double doubleValue
)

Parameters

value
The value.
doubleValue
The double value.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.