I have a small financial application with PHP as the front end and MySQL as the back end. I have ancient prejudices, and I store money values in MySQL as an integer of cents
If you want precision, you should store your money values using the DECIMAL data type in MySQL.