Esempio n. 1
0
 /// <summary>
 /// 判断给定的字符串数组(strNumber)中的数据是不是都为数值型
 /// </summary>
 /// <param name="strNumber">要确认的字符串数组</param>
 /// <returns>是则返加true 不是则返回 false</returns>
 public static bool IsNumericArray(string[] strNumber)
 {
     return(PageValidate.IsNumericArray(strNumber));
 }
Esempio n. 2
0
 /// <summary>
 /// 判断对象是否为Int32类型的数字,可以为负数
 /// </summary>
 /// <param name="Expression"></param>
 /// <returns></returns>
 public static bool IsNumericSign(string Expression)
 {
     return(PageValidate.IsNumberSign(Expression));
 }
Esempio n. 3
0
 /// <summary>
 /// 判断对象是否为Double类型的数字
 /// </summary>
 /// <param name="Expression"></param>
 /// <returns></returns>
 public static bool IsDouble(object Expression)
 {
     return(PageValidate.IsDecimal(Expression));
 }
Esempio n. 4
0
 /// <summary>
 /// 判断对象是否为Int32类型的数字
 /// </summary>
 /// <param name="Expression"></param>
 /// <returns></returns>
 public static bool IsNumeric(object Expression)
 {
     return(PageValidate.IsNumeric(Expression));
 }