Tag Info

Hot answers tagged

1

There are a few things you can do up front, such as be clear that the input expects a number. Or simply not accept inputs that aren't numbers (if they type characters just ignore them). To dissect your options a bit more: Your first three (number is expected/required, value should be a number) are good. They call out that a number is something you need to ...



Only top voted, non community-wiki answers of a minimum length are eligible