I\'d like to know if exists some function to automatically format a number by it\'s decimal, so if I have:
Actually I think the cleanest way I can think of to do this for someone that just did a search looking for this sort of thing is to do this:
( number_format ($sql_result["col_number"], 2) * 100 ) / 100;