Add number formatting to the results writer class.
Correcting last commit