public static bool IsDecimalSign(string inputData)
{
Regex RegDecimalSign = new Regex("^[+-]?[0-9]+[.]?[0-9]+$");
Match m = RegDecimalSign.Match(inputData);
return m.Success;
}
c#判断浮点类型
最新推荐文章于 2024-05-27 17:17:59 发布