code: protected static float parseFloatParameter (String value, String invalidDataMessage)
          throws DataValidationException
      {
          try {
              return Float.parseFloat(value);
          } catch (NumberFormatException nfe) {
              throw new DataValidationException(invalidDataMessage);
          }
      }
docs: Internal method to parse a float value.