public static bool IsSigned(System.Type type) { if ((object)type != (object)typeof(short) && (object)type != (object)typeof(int) && ((object)type != (object)typeof(long) && (object)type != (object)typeof(sbyte))) { return(GridViewHelper.IsFloat(type)); } return(true); }
public static bool IsNumeric(System.Type type) { if (!GridViewHelper.IsFloat(type)) { return(GridViewHelper.IsInteger(type)); } return(true); }