check is string if the positive number

后端 未结 0 473
萌比男神i
萌比男神i 2021-02-13 19:58

I have a String input and want to check if the positive number and if not return default value without using try, catch and regex in pattern matching. Could you help me write th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题