Esempio n. 1
0
 public override string ToString() => Number.Format(this.m_value, true, "G", NumberFormatInfo.CurrentInfo);
Esempio n. 2
0
 public string ToString(string format) => Number.Format(this.m_value, true, format, NumberFormatInfo.CurrentInfo);
Esempio n. 3
0
 public String ToString(String format)
 {
     return(Number.Format((int)m_value, true, format, NumberFormatInfo.CurrentInfo));
 }
Esempio n. 4
0
 public override String ToString()
 {
     return(Number.Format((int)m_value, true, "G", NumberFormatInfo.CurrentInfo));
 }
Esempio n. 5
0
 public string ToString(string format, IFormatProvider provider) => Number.Format(this.m_value, true, format, NumberFormatInfo.GetInstance(provider));
Esempio n. 6
0
 /// <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));
 }
Esempio n. 7
0
 /// <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));
 }