Always check user input

vsergu on 2002-10-09T13:08:09

The latest issue of Risks Digest brings the stories of a teacher who received an unexpected bonus and, right after it, the accidental sale of hundreds of millions of dollars worth of stock (caused by confusion between "million" and "billion").

At least the erroneous stock sale was at the right price, unlike this one from last year, in which the price and number of shares were switched, resulting in a $100 million loss.