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