if(!string.IsNullOrEmpty(a)){
decimal isNum = 0m;
try{
isNum = deciaml.parse(a);
}
catch(Exception ex){
throw new Exception("不是数字!");
}
}
if(!string.IsNullOrEmpty(a)){
decimal isNum = 0m;
try{
isNum = deciaml.parse(a);
}
catch(Exception ex){
throw new Exception("不是数字!");
}
}