Encog.Util.CSV.ReadCSV.GetInt C# (CSharp) 메소드

GetInt() 공개 메소드

Get an integer that has the specified name.
public GetInt ( String col ) : int
col String The column name to read.
리턴 int
        public int GetInt(String col)
        {
            String str = Get(col);
            try
            {
                return int.Parse(str);
            }
            catch (FormatException)
            {
                return 0;
            }
        }