code: public static boolean isSignedFloat(String s) {
          if (isEmpty(s)) return defaultEmptyOK;
  
          try {
              float temp = Float.parseFloat(s);
  
              if (temp <= 0) return true;
              return false;
          } catch (Exception e) {
              return false;
          }
  
          // int startPos = 0;
          // if(isSignedFloat.arguments.length > 1) secondArg = isSignedFloat.arguments[1];
          // skip leading + or -
          // if((s.charAt(0) == "-") ||(s.charAt(0) == "+") ) startPos = 1;
          // return(isFloat(s.substring(startPos, s.length), secondArg))
      }
docs: True if string s is a signed or unsigned floating point
  (real) number. First character is allowed to be + or -.
  
  Also returns true for unsigned integers. If you wish
  to distinguish between integers and floating point numbers,
  first call isSignedInteger, then call isSignedFloat.