Format numbers in chart according to locale (issue #31)