6 Replies Latest reply on Dec 17, 2007 8:25 PM by 807601

    put number 10e12 into "long"

      I want to do this:
      long MaxN = 10e12;
      nothing difficult, but java compiler says: "possible loss of precision; found: double, required: long"

      so is it possible to put number 10e12 into long? i tried to write:
      long MaxN = 1000000000000;
      but compiler replied: "integer number too large"