Fix formatting of numbers