/// <summary> /// Cast nullable <see cref="int"/> to <see cref="string"/>. /// </summary> /// <param name="number"></param> /// <param name="defaultVal"></param> /// <returns></returns> public static string CastToString(this int?number, string defaultVal = "") => StringConv.Int32ToString(number, defaultVal);
/// <summary> /// Convert nullable <see cref="int"/> to <see cref="string"/>. /// </summary> /// <param name="num"></param> /// <param name="defaultVal"></param> /// <returns></returns> public static string ToString(int?num, string defaultVal = "") => StringConv.Int32ToString(num, defaultVal);