Exemplo n.º 1
0
 /// <summary>
 /// Convert <see cref="object"/> to <see cref="double"/>.
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="defaultVal"></param>
 /// <returns></returns>
 public static double ToDouble(object obj, double defaultVal = 0D) => NumericConv.ObjectToDouble(obj, defaultVal);