Refactor number to string