Number.toString() : toString : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » toString »

 

Number.toString()







The toString() method gets a string representation of the Number object.












<html>
    <body>
    <script language="JavaScript">
    <!--
    var aNum = Number(21);
    document.write("The string value for 21 is: " "<b>" + aNum.toString() "</b>");
    -->
    </script>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» toString