javascrip how to turn a string into a number code example Example: convert a string to number in javascript var x = Number("1000")