public string ToString(string format) { return(NumberFormatter.Format(format, LongValue(), null)); }
public string ToString(string format, IFormatProvider provider) { return(NumberFormatter.Format(format, LongValue(), provider)); }
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 formatProvider) { return(NumberFormatter.Format(format, ((long)IntValue()) & 0xFFFFFFFFL, null)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public string ToString(string format, IFormatProvider provider) { return(NumberFormatter.Format(format, this, provider)); }
public override string ToString() { return(NumberFormatter.FormatGeneral(new NumberFormatter.NumberStore(this.m_value))); }
private static NumberFormatter GetInstance() { NumberFormatter res = threadNumberFormatter; threadNumberFormatter = null; if (res == null) return new NumberFormatter (Thread.CurrentThread); res.CurrentCulture = Thread.CurrentThread.CurrentCulture; return res; }
public string ToString(string format, IFormatProvider provider) { return(NumberFormatter.NumberToString(format, m_value, provider)); }
public string ToString (IFormatProvider provider) { return NumberFormatter.NumberToString (m_value, provider); }
public string ToString(string format) { return(NumberFormatter.Format(format, (int)ShortValue(), null)); }
/// <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)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public new string ToString() { return(NumberFormatter.Format((int)this, null)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public string ToString(string format, IFormatProvider formatProvider) { return(NumberFormatter.Format(format, (long)this, 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)); }
private void Release() { threadNumberFormatter = this; }
public override string ToString() { return(NumberFormatter.NumberToString(m_value, null)); }
public string ToString(string format, IFormatProvider provider) { return(NumberFormatter.Format(format, IntValue() & 0xFFFF, provider)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public string ToString(string format) { return(NumberFormatter.Format(format, this, null)); }
private static NumberFormatter GetInstance (IFormatProvider fp) { if (fp != null) { if (userFormatProvider == null) { Interlocked.CompareExchange (ref userFormatProvider, new NumberFormatter (null), null); } return userFormatProvider; } NumberFormatter res = threadNumberFormatter; threadNumberFormatter = null; if (res == null) return new NumberFormatter (Thread.CurrentThread); res.CurrentCulture = Thread.CurrentThread.CurrentCulture; return res; }
public string ToString(string format, IFormatProvider formatProvider) { return(NumberFormatter.NumberToString(format, mValue, NumberFormatInfo.GetInstance(formatProvider))); }
private void Release() { if (this != userFormatProvider) threadNumberFormatter = this; }
public string ToString(IFormatProvider formatProvider) { return(NumberFormatter.FormatGeneral(new NumberFormatter.NumberStore(this.m_value), formatProvider)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public string ToString(IFormatProvider provider) { return(NumberFormatter.Format((int)this, provider)); }
public string ToString(IFormatProvider provider) { return(NumberFormatter.Format(_IntValue(), provider)); }
[Inline, DexNative] // avoid boxing, do not generate actual method public new string ToString() { return(NumberFormatter.FormatULong(this, null)); }