ComponentOne FlexReport for WinForms
TryAsNumber Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : TryAsNumber Method
Value to check.
Double value.
Checks whether object represents numeric value, i.e. it is byte, integer, float etc and converts it to double. Returns false if object is not number.
Syntax
'Declaration
 
Public Shared Function TryAsNumber( _
   ByVal obj As System.Object, _
   ByRef v As System.Double _
) As System.Boolean
public static System.bool TryAsNumber( 
   System.object obj,
   out System.double v
)

Parameters

obj
Value to check.
v
Double value.

Return Value

Returns true if obj contains numeric value.
See Also

Reference

Utils Class
Utils Members