Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 5
How can I tell this stupid JavaScript to take a float as the value in the prompt function not a string?
2 ответов
+ 6
You can't but you can convert it afterwards.
let num = Number(prompt());
+ 6
@Schindlabua
Ok I'll try
Thanks