0

The default parameter in the prompt box is a string can anyone help me how to change it? Maybe make it a number

Begginer

23rd Mar 2017, 9:42 AM
Augustine Henry
Augustine Henry - avatar
4 ответов
+ 7
parseInt(string, radix); var l = parseInt("10", 16);
26th Mar 2017, 6:29 PM
Cory Gutierrez🔹
Cory Gutierrez🔹 - avatar
+ 6
what kind of number❓
23rd Mar 2017, 9:49 AM
Cory Gutierrez🔹
Cory Gutierrez🔹 - avatar
+ 1
var n = Number ("your string")
23rd Mar 2017, 10:09 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
An interger
23rd Mar 2017, 2:46 PM
Augustine Henry
Augustine Henry - avatar