public static bool IsMatch(string str) { return Regex.IsMatch(str, @"^(\-)?\d+(\.\d{1,2})?$"); }
8,757
社区成员
12,032
社区内容
加载中
试试用AI创作助手写篇文章吧