title: Any way to avoid results containing "9.223372036854776E18"
body: <p>I'm making a program that turns a large number into a string, and then adds the characters of that string up. It works fine, my only problem is that instead of having it as a normal number, Java converts my number into standard form, which makes it hard to parse the string. Are there any solutions to this?</p>
  
  <pre><code>public static void main(String ags[]) {
      long nq = (long) Math.pow(2l, 1000l);
      long result = 0;
      String tempQuestion = Double.toString(nq);
      System.out.println(tempQuestion);
      String question = tempQuestion.substring(0, tempQuestion.length() - 2);
      for (int count = 0; count &lt; question.length(); count++) {
          String stringResult = question.substring(count, count + 1);
          result += Double.parseDouble(stringResult);
      }
      System.out.println(result);
  </code></pre>