In a normal database report you could also use the SQL() function and do the formatting in a SQL query