Check if the given char is a digit character (0-9) and (0-9, a-f for HEX)
命名空间:
CPF.Controls
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 public static bool IsDigit(
char ch,
bool hex = false
)
参数
- ch
- 类型:SystemChar
the character to check - hex (Optional)
- 类型:SystemBoolean
optional: is hex digit check
返回值
类型:
Booleantrue - is digit, false - not a digit
参见