/// <summary> /// Cast nullable <see cref="double"/> to <see cref="string"/> with specified precision. /// </summary> /// <param name="number"></param> /// <param name="digits"></param> /// <returns></returns> public static string CastToString(this double?number, int digits) => StringConv.DoubleToString(number, digits);
/// <summary> /// Convert nullable <see cref="double"/> to <see cref="string"/> with specified precision. /// </summary> /// <param name="num"></param> /// <param name="digits"></param> /// <returns></returns> public static string ToString(double?num, int digits) => StringConv.DoubleToString(num, digits);
/// <summary> /// Cast nullable <see cref="double"/> to <see cref="string"/>. /// </summary> /// <param name="number"></param> /// <returns></returns> public static string CastToString(this double?number) => StringConv.DoubleToString(number);
/// <summary> /// Convert nullable <see cref="double"/> to <see cref="string"/>. /// </summary> /// <param name="num"></param> /// <returns></returns> public static string ToString(double?num) => StringConv.DoubleToString(num);