parse text to number javacript code example Example: string to number js let myNumber = Number("5.25"); //5.25