var reg = new Regex(@"^\d*\.{0,1}\d{0,1}$");
if (!reg.IsMatch(body.Quota.ToString())) {
}
var reg = new Regex(@"^\d*\.{0,1}\d{0,1}$");
if (!reg.IsMatch(body.Quota.ToString())) {
}
转载于:https://my.oschina.net/u/3911753/blog/3012285