code: public void parseFraction() {
          // get past .
          pos++;
  
          outer:
          while (pos < s.length()) {
              switch (s.charAt(pos)) {
                  case '0':
                  case '1':
                  case '2':
                  case '3':
                  case '4':
                  case '5':
                  case '6':
                  case '7':
                  case '8':
                  case '9':
                      pos++;
                      break;
                  case 'e':
                  case 'E':
                      parseExponent();
                      break;
                  default:
                      break outer;
              }
          }
      }
docs: Advances the pointed through <i>.digits</i>.