make a number an int javascript code example Example: string to number js let myNumber = Number("5.25"); //5.25