/// <summary>
 /// 转换为double
 /// </summary>
 /// <param name="obj">数据</param>
 public static double ToDouble(this object obj)
 {
     return(Conv.ToDouble(obj));
 }
Exemple #2
0
 /// <summary>
 /// 转换为double
 /// </summary>
 /// <param name="obj">数据</param>
 public static double ToDouble(this string obj)
 {
     return(Conv.ToDouble(obj));
 }
 /// <summary>
 /// 转换为double
 /// </summary>
 /// <param name="data">数据</param>
 public static double ToDouble(this string data)
 {
     return(Conv.ToDouble(data));
 }