Редактирование кода:
См Результат »
Попробуй сам - ©
w3ii.com
The global JavaScript function parseInt() converts strings to numbers: