Spread ASP.NET 17
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcConvert Class / ToInt Method
Value to convert
Example


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

    Integer equivalent to the specified value
    Exceptions
    ExceptionDescription
    Value cannot be converted.
    Example
    This example converts the value to an integer.
    See Also