private static boolean tryNumber(String s,boolean precedingZeroIsntNumber,boolean precedingPlusIsntNumber){
  if (s.startsWith("0.")) {
    return true;
  }
 else   if (precedingPlusIsntNumber && s.startsWith("+")) {
    return false;
  }
 else   if (precedingZeroIsntNumber && s.startsWith("0")) {
    return false;
  }
  return true;
}

private static boolean tryNumber ( String s , boolean precedingZeroIsntNumber , boolean precedingPlusIsntNumber ) { if ( s . startsWith ( "0." ) ) { return true ; } else if ( precedingPlusIsntNumber && s . startsWith ( "+" ) ) { return false ; } else if ( precedingZeroIsntNumber && s . startsWith ( "0" ) ) { return false ; } return true ; }
test whether we should attempt to covert a string to a number , based on the current configuration
