What is the max integer you could store?

FhelZone

Have a drink of a nice cold mellowberry juice!
Reaction score
103
Okay even though I've converted the value to string the integer seems to not handle that much big number. What is the limit for the integers?
 

Trollvottel

never aging title
Reaction score
262
i think 4294967296 = 2^32


test it by printing some real big number and you should get -4294967296
 

TheTempest

New Member
Reaction score
6
i think 4294967296 = 2^32


test it by printing some real big number and you should get -4294967296

No. 2147483648 to -2147483648 (Remember that integers are signed)

If you are familiar with JASS you can make a string array and put each number in there, then interpret each character as a number.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top