Check if a variable is a natural number

后端 未结 9 1825
Happy的楠姐
Happy的楠姐 2020-12-10 16:49

I want to make a bid system on a website. That means users can post their bid (natural number). I want to make sure users don\'t try to post characters, decimal numbers, etc

9条回答
提交回复
热议问题