refactor number format