var x = "32"; var y: number = +x;//the "+" converts string to number
Number('1234') // 1234 Number('9BX9') // NaN