javascript convert to number if number code example Example: string to number js let myNumber = Number("5.25"); //5.25