Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / AlwaysConvert Class / ToInt Method / ToInt(Object) Method
The input value to parse
In This Topic
    ToInt(Object) Method
    In This Topic
    Parses the given input value and converts it to an int. Default return value is 0.
    Syntax
    public static int ToInt( 
       object parseValue
    )

    Parameters

    parseValue
    The input value to parse

    Return Value

    The converted int 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