change the number to string by using toString() function Example: Number("3.14") // returns 3.14 false.toString() // returns "false" String(false) // returns "false"