Edit & Run »
The global JavaScript function parseFloat() converts strings to numbers: