JavaScript Global Methods

The parseFloat() method converts strings to numbers: