format numbers before passing them to notification