web-profile

javascript number to string

<script>
a = (1.23).toString(); // result: the string '1.23'
b = b.toString(); // converts b to string
c = 1.23 + ''; // result: the string '1.23'
d += ''; // converts d to string
</script>

Leave a Reply

Your email address will not be published.