don't format number if number is None

Goal of this change is to don't show 'formatError' if a number is equal to None (and let it empty).