Script..::..ParseInt Method (String, Int32)
The parseInt() function parses a string argument and returns an integer of the specified radix or base.
Namespace:
BridgeAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static int ParseInt( string value, int radix )
<TemplateAttribute> _ Public Shared Function ParseInt ( _ value As String, _ radix As Integer _ ) As Integer
[TemplateAttribute] public: static int^ ParseInt( String^ value, int^ radix )
Parameters
- value
- Type: System..::..String
The value to parse. If string is not a string, then it is converted to one. Leading whitespace in the string is ignored.
- radix
- Type: System..::..Int32
An integer that represents the radix of the above mentioned string. Always specify this parameter to eliminate reader confusion and to guarantee predictable behavior. Different implementations produce different results when a radix is not specified.