Storing monetary amounts in db? Use decimals, not floats!
Lot's of people will be surprised (or shocked, when it happens in production) when they see that mysql can work like this: Query: SELECT transaction_id, amount FROM transactions WHERE amount>20.5 Response: 123|20.5 Query: SELECT transaction_id, amount FROM transactions WHERE amount=20.5 Response: No