public string ToString(string format, IFormatProvider formatProvider) { NumberFormatInfo nfi = NumberFormatInfo.GetInstance(formatProvider); return(NumberFormatter.NumberToString(format, this.m_value, nfi)); }
public string ToString(string format, IFormatProvider provider) { return(NumberFormatter.NumberToString(format, m_value, provider)); }
public override string ToString() { return(NumberFormatter.NumberToString(m_value, null)); }
/// <summary>Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.</summary> /// <returns>The string representation of the value of this instance as specified by <paramref name="provider" />.</returns> /// <param name="provider">An <see cref="T:System.IFormatProvider" /> that supplies culture-specific formatting information. </param> /// <filterpriority>1</filterpriority> public string ToString(IFormatProvider provider) { return(NumberFormatter.NumberToString(this, provider)); }
public string ToString(string format, IFormatProvider formatProvider) { return(NumberFormatter.NumberToString(format, mValue, NumberFormatInfo.GetInstance(formatProvider))); }
/// <summary>Converts the numeric value of this instance to its equivalent string representation.</summary> /// <returns>The string representation of the value of this instance, consisting of a minus sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.</returns> /// <filterpriority>1</filterpriority> public override string ToString() { return(NumberFormatter.NumberToString((int)this, null)); }