/

HTML / CSS / JavaScript Tutorial

JavaScript Number method: toString()

[this page | pdf | back links]

The toString() method (when applied to JavaScript numbers) returns a string corresponding to the number.

 

It has the following syntax (with no parameters):

 

number.toString()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Numbers and Math


Desktop view | Switch to Mobile