public boolean Numornot(String msg){
try{
Integer.parseInt(msg);
return true;
}catch(Exception e){
return false;
}
}
文章標籤
全站熱搜
部落格全站分類:數位生活
public boolean Numornot(String msg){
try{
Integer.parseInt(msg);
return true;
}catch(Exception e){
return false;
}
}