Convert String2Int Method Encog Machine Learning Framework for .Net
Convert a string to an int. Just make the number a zero if the string is invalid.

Namespace: Encog.MathUtil
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public static int String2Int(
	string str
)

Return Value

Type: Int32
The string converted to numeric.
See Also