예제 #1
0
 /// <summary>
 /// 转换为可空double
 /// </summary>
 /// <param name="obj">数据</param>
 public static double?ToDoubleOrNull(this string obj)
 {
     return(Conv.ToDoubleOrNull(obj));
 }
예제 #2
0
 /// <summary>
 /// 转换为可空double
 /// </summary>
 /// <param name="data">数据</param>
 public static double?ToDoubleOrNull(this string data)
 {
     return(Conv.ToDoubleOrNull(data));
 }