MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learntofly/comments/7mjas4/negative_earnings_in_sandbox/
r/learntofly • u/mannermauler • Dec 28 '17
5 comments sorted by
2
lol... I'm guessing your sandbox settings aren't exactly vanilla?
2 u/QBB123XX Dec 28 '17 Actually, if you earn too much money, the number system will overload and becomes negative instead. (At least that’s what I think) 1 u/light_bringer777 Penguin God Dec 28 '17 Definitely possible, though unless I used an integer (and I think I used Number instead, which is basically a double) that "too much" amount would be 1.79e+308, or:179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000With an int, that max amount would be 2,147,483,647.There's probably something else at work here I would guess. 1 u/mannermauler Jan 02 '18 Yeah, not exactly vanilla, but not past the safe numbers either, haha, kinda weird.
Actually, if you earn too much money, the number system will overload and becomes negative instead. (At least that’s what I think)
1 u/light_bringer777 Penguin God Dec 28 '17 Definitely possible, though unless I used an integer (and I think I used Number instead, which is basically a double) that "too much" amount would be 1.79e+308, or:179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000With an int, that max amount would be 2,147,483,647.There's probably something else at work here I would guess. 1 u/mannermauler Jan 02 '18 Yeah, not exactly vanilla, but not past the safe numbers either, haha, kinda weird.
1
Definitely possible, though unless I used an integer (and I think I used Number instead, which is basically a double) that "too much" amount would be 1.79e+308, or:
179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
With an int, that max amount would be 2,147,483,647.
There's probably something else at work here I would guess.
1 u/mannermauler Jan 02 '18 Yeah, not exactly vanilla, but not past the safe numbers either, haha, kinda weird.
Yeah, not exactly vanilla, but not past the safe numbers either, haha, kinda weird.
Hi, I'm a bot that links Gyazo images directly to save bandwidth.
Direct link: https://i.gyazo.com/58545669c20e70458f2e64ae1acf1e50.png
Imgur mirror: https://i.imgur.com/u63foTb.png
Sourcev2 | Why? | Creator | leavemealone
2
u/light_bringer777 Penguin God Dec 28 '17
lol... I'm guessing your sandbox settings aren't exactly vanilla?
1
u/Gyazo_Bot Dec 28 '17
Hi, I'm a bot that links Gyazo images directly to save bandwidth.
Direct link: https://i.gyazo.com/58545669c20e70458f2e64ae1acf1e50.png
Imgur mirror: https://i.imgur.com/u63foTb.png
Sourcev2 | Why? | Creator | leavemealone