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-2024 • Updated: 06/29/24
Comment or report problem with topic