code: private static int readNumberRecordValue(DBaseFileField field, int nrecord, int nfield, byte[] rawData,
  			int rawOffset, OutputParameter<Double> value) throws IOException {
  		final String buffer = new String(rawData, rawOffset, field.getLength());
  		try {
  			final String b = buffer.trim();
  			if (b != null && b.length() > 0) {
  				value.set(new Double(b));
  				return field.getLength();
  			}
  		} catch (NumberFormatException e) {
  			//
  		}
  		throw new InvalidRawDataFormatException(nrecord, nfield, buffer);
  	}
docs: Read a NUMBER record value.
  
  @param field is the current parsed field.
  @param nrecord is the number of the record
  @param nfield is the number of the field
  @param rawData raw data
  @param rawOffset is the index at which the data could be obtained
  @param value will be set with the value extracted from the dBASE file
  @return the count of consumed bytes
  @throws IOException in case of error.