In: Good Stuff
14 Jul 2009Love the quote, “help desk working on it.”
http://consumerist.com/5314246/unruly-teen-charges-23-quadrillion-at-drugstore
The ZSN-IT site is a central place for the IT department to share the more fun and interesting aspects of our work with our clients and everyone else. This includes links to interesting tech solutions, stories about incidents, food notes, techtips, fitness counters, and whatever else we find interesting.
1 Response to Unruly Teen Charges $23 Quadrillion At Drugstore
Billie
July 16th, 2009 at 9:02 am
And here’s how it happened, geek friends!
“23,148,855,308,184,500.00 * 100 (I’m guessing this is how the number is actually stored) is 2314885530818450000. Convert 2314885530818450000 to hexadecimal, and you end up with 20 20 20 20 20 20 12 50. Most C/C++ programmers see the error now … hex 20 is a space. So spaces were stuffed into a field where binary zero should have been.”
Slashdot