public override string ToString() => Number.Format(this.m_value, true, "G", NumberFormatInfo.CurrentInfo);
public string ToString(string format) => Number.Format(this.m_value, true, format, NumberFormatInfo.CurrentInfo);
public String ToString(String format) { return(Number.Format((int)m_value, true, format, NumberFormatInfo.CurrentInfo)); }
public override String ToString() { return(Number.Format((int)m_value, true, "G", NumberFormatInfo.CurrentInfo)); }
public string ToString(string format, IFormatProvider provider) => Number.Format(this.m_value, true, format, NumberFormatInfo.GetInstance(provider));
/// <summary> /// Converts the numeric value of this instance to its equivalent string representation, using the specified format. /// </summary> /// <param name="format">A numeric format string.</param> /// <returns>The string representation of the value of this instance as specified by format.</returns> public String ToString(String format) { return(Number.Format(_value, false, format, NumberFormatInfo.CurrentInfo)); }
/// <summary> /// Converts the numeric value of this instance to its equivalent string representation. /// </summary> /// <returns>The string representation of the value of this instance.</returns> public override String ToString() { return(Number.Format(_value, false, "G", NumberFormatInfo.CurrentInfo)); }