Format all floats with comma as thousand separator and 2 decimal places?

Is it possible to format all floats with comma as thousand separator and 2 decimal places, across all graphs, instead of having to specify them individually? Can I use a global template, if so how? Thanks.