I am working a MySQL statement, but when I query the database with the statement it gives me a long return of decimals. How do I only return the decimal placement of 2 spots?
For example, I am getting a return of 8.990999794006347
and I want to get a return placement of just 8.99
. Here is my statement to query the database or just that table:
Select movieID, title, year, discountPrice - (.10 * discountPrice) AS 'My Price' From Movie;
I just need the decimal placement to be of 2.