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