formatting of numbers according to locale