code: public static float parseFloat (@Nullable final String sStr, final float fDefault)
    {
      // parseDouble throws a NPE if parameter is null
      if (sStr != null && sStr.length () > 0)
        try
        {
          // Single point where we replace "," with "." for parsing!
          return Float.parseFloat (_getUnifiedDecimal (sStr));
        }
        catch (final NumberFormatException ex)
        {
          // Fall through
        }
      return fDefault;
    }
docs: Parse the given {@link String} as float.
  
  @param sStr
  The string to parse. May be <code>null</code>.
  @param fDefault
  The default value to be returned if the passed object could not be
  converted to a valid value.
  @return The default value if the string does not represent a valid value.