How to Convert a Number to a String in JavaScript

To convert a number to a string with JavaScript use the toString() method:

let number = 10
let numberToString = number.toString()

console.log(numberToString)
// "10"

Has this been helpful to you?

You can support my work by sharing this article with others, or perhaps buy me a cup of coffee 😊

Kofi

Share & Discuss on