code: func (dt *DbfTable) DecimalPlacesInField(fieldName string) (uint8, error) {
  	if !dt.HasField(fieldName) {
  		return 0, errors.New("Field name \"" + fieldName + "\" does not exist. ")
  	}
  
  	for i := 0; i < len(dt.fields); i++ {
  		if dt.fields[i].name == fieldName && dt.fields[i].usesDecimalPlaces() {
  			return dt.fields[i].decimalPlaces, nil
  		}
  	}
  
  	return 0, errors.New("Type of field \"" + fieldName + "\" is not Numeric or Float.")
  }
docs: // DecimalPlacesInField returns the number of decimal places for the field with the given name.
  // If the field does not exist, or does not use decimal places, an error is returned.