/// <summary> /// 转换为int /// </summary> /// <param name="obj">数据</param> public static int ToInt(this object obj) { return(Conv.ToInt(obj)); }
/// <summary> /// 转换为int /// </summary> /// <param name="obj">数据</param> public static int ToInt(this string obj) { return(Conv.ToInt(obj)); }
/// <summary> /// 转换为int /// </summary> /// <param name="data">数据</param> public static int ToInt(this string data) { return(Conv.ToInt(data)); }