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

GetFloat() public method

Gets the single-precision floating point number of the specified field.
The index passed was outside the range of 0 through .
public GetFloat ( int i ) : float
i int The index of the field to find.
return float
        public virtual float GetFloat(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return (float)GetCachedValue(i);
        }