Azavea.Open.DAO.Util.CachingDataReader.GetDecimal C# (CSharp) Method

GetDecimal() public method

Gets the fixed-position numeric value of the specified field.
The index passed was outside the range of 0 through .
public GetDecimal ( int i ) : decimal
i int The index of the field to find.
return decimal
        public virtual decimal GetDecimal(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return Convert.ToDecimal(GetCachedValue(i));
        }