/// <summary> /// Convert <see cref="object"/> to <see cref="double"/> with specified precision. /// </summary> /// <param name="obj"></param> /// <param name="digits"></param> /// <param name="defaultVal"></param> /// <returns></returns> public static double ToRoundDouble(object obj, int digits, double defaultVal = 0D) => NumericConv.ObjectToRoundDouble(obj, digits, defaultVal);