add thousands separators on appropriate values