EditText 数字范围 检查string 是不是数字

public static boolean isNumeric00(String str)
{ try{   Integer.parseInt(str);   return true; }catch(NumberFormatException e)
{   System.out.println("异常:"" + str + ""不是数字/整数...");   return false; } }

原文地址:https://www.cnblogs.com/yue31313/p/7668109.html