bool isNumericField(int fieldno);

Function isNumericField() returns TRUE is a field is Numeric, Float, Double, Currency, Integer.


{
    // your code
    if (dbf.isNumericField(0))
        dbf.getValue(0);
    else
        dbf.getString(0);
    // your code
}