Spread Windows Forms 17
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcConvert Class / ToInt Method
Value to convert


In This Topic
    ToInt Method
    In This Topic
    Converts the specified value to a 32-bit signed integer.
    Syntax
    'Declaration
     
    
    Public Shared Function ToInt( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    
    Dim value As Object
    Dim value As Integer
     
    value = CalcConvert.ToInt(value)
    public static int ToInt( 
       object value
    )

    Parameters

    value
    Value to convert

    Return Value

    32-bit signed integer equivalent to the specified value
    Exceptions
    ExceptionDescription
    Value cannot be converted.
    See Also