Edit This Code:
See Result »
The global JavaScript function parseFloat() converts strings to numbers:
Result: