Se denne reference http://www.postgresql.org/docs/ 9.3/static/functions-formatting.html to_char(rate,'FM999,999.00')