Converting a Number to a String
<html> <body> <script type="text/javascript"> <!-- function numToString(number) { number += ""; return number; } var number = 10; alert(typeof number); number = numToString(number); alert(typeof number); //--> </script> </body> </body>