what is the cleanest way to format the number to this
say
39.01 will be format as 3901
30.005 will be format as 3901
30.004 will be format as 3000
Multiply by 100 then round.
echo round(39.01*100); // 3901
Although I don't know how you will get this? 30.005 will be format as 3901