How would I round down to the nearest integer in MySQL?
Example: 12345.7344 rounds to 12345
12345.7344 rounds to 12345
mysql\'s round() function rounds up.>
round()
Use FLOOR:
SELECT FLOOR(your_field) FROM your_table