Another way to turn number to string is to do var int = 4 + "";