4
Which command can I use to know if inside a string only has numbers..
For example, I’m using the prompt
:
var quantidade=prompt('Quantidade de entrada de produtos(somente números)');
I would like to check if really in the variable quantidade
has only numbers, after all we can not trust these users is not rs.
Related issue.
– utluiz
That’s why I said "related" and not "duplicated". It turns out that several answers of that question serve for this, including several answers of this are the same as there.
– utluiz