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, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic