StringUtils.ParseInt

Parses an string into an integer. If the value can't be parsed a default value is returned instead

public static int ParseInt(string input,
	int defaultValue,
	IFormatProvider numberFormat)

Parameters

input
Input numeric string to be parsed

defaultValue
Optional default value if parsing fails

numberFormat


See also:

Class StringUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic