0

How can u transform prompt input in a integer variable or a float variable in js

4/9/2019 8:43:23 AM

Ant Expert

1 Answer

New Answer

+1

um you get string from prompt().I mean prompt() return string parseInt(prompt()) parseFloat(prompt()) prompt()-0 prompt()*1