Getting the value of an input element as a number without parseInt
wisdomgeek.com