The prize of a huge Xenon tank is negative!
The reason of it is that the prize of the rocket uses the int,and the real prize of the rocket is more expensive than 2147483647 dollars. The prize of the rocket should use the long long int.

Bug Planned Found in
Sandbox View


  • Log in to leave a comment
  • Profile image

    @AndrewGarrison is the maximum number for things going to be put past the 32-bit integer limit?

    11 months ago
  • Profile image
    6,638 s5ehfr9

    It's because it's a number higher than the upper limit an int can store. Just change the variable type to long and you will end up with a maximum value of 9,223,372,036,854,775,807

    I'm pretty sure that Andrew knows this though.

    +1 3.0 years ago
  • Profile image

    lol, thanks for letting us know. We are having a big sale on xenon tanks.

    +7 3.0 years ago


Log in in to upvote this post.