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