code: private static float  parseFloat(String val) throws SVGParseException
     {
        int  len = val.length();
        if (len == 0)
           throw new SVGParseException("Invalid float value (empty string)");
        return parseFloat(val, 0, len);
     }
docs: /*
  Parse a generic float value.