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 0.9.203.0
Sandbox View

3 Comments

  • 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?

    2.5 years ago
  • Profile image
    8,600 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 4.6 years ago
  • Profile image

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

    +9 4.6 years ago

2 Upvotes

Log in in to upvote this post.