public double FloatVal(int index) { TData data = GetData(index); if (data != null && data.GetType() == VARIANT_TYPE.VTYPE_FLOAT) { return((double)data.FloatVal()); } return((float)NFDataList.NULL_DOUBLE); }