In my DB, most numeric values are of type DECIMAL(10,6). They are currency columns.
Now, when I retrieve the numbers from mysql, I get something like this
34.123456 //I want these
0.987654
500.000000 //I do not want these
1.000000
Is it possible to have the numbers automatically show up as integers when they are and to maintain decimals to my desired precision after the point, so that I get e.g.
34.123456
0.987654
500
1