integer, number and currency formatters refactoring