javascript number to string

website creator


<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 Comment