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