StringUtils.ParseInt

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

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

Parameters

input
Input numeric string to be parsed

defaultValue
Optional default text if parsing fails

numberFormat


See also:

Class StringUtils

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic