Java library to check whether a String contains a number *without* exceptions

前端 未结 5 496
长情又很酷
长情又很酷 2020-12-18 00:50

I\'m looking for a method that returns a boolean if the String it is passed is a valid number (e.g. \"123.55e-9\", \"-333,556\"). I don\'t want to just do:

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