private FormatDecimal ( Decimal value, String format, |
||
value | Decimal | |
format | String | |
info | ||
리턴 | String |
public static String Format(Currency value, String format, NumberFormatInfo info) { if (info == null) { info = NumberFormatInfo.CurrentInfo; } return(Number.FormatDecimal(ToDecimal(value), format, info)); }
public String ToString(String format, IFormatProvider provider) { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatDecimal(this, format, provider)); }
// Converts this Decimal to a string. The resulting string consists of an // optional minus sign ("-") followed to a sequence of digits ("0" - "9"), // optionally followed by a decimal point (".") and another sequence of // digits. // public override String ToString() { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatDecimal(this, null, null)); }
public String ToString(IFormatProvider provider) { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatDecimal(this, null, NumberFormatInfo.GetInstance(provider))); }
public String ToString(String format) { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatDecimal(this, format, NumberFormatInfo.CurrentInfo)); }
public String ToString(String format, IFormatProvider provider) { return(Number.FormatDecimal(this, format, NumberFormatInfo.GetInstance(provider))); }
public String ToString(String format) { return(Number.FormatDecimal(this, format, NumberFormatInfo.CurrentInfo)); }
// Converts this Decimal to a string. The resulting string consists of an // optional minus sign ("-") followed to a sequence of digits ("0" - "9"), // optionally followed by a decimal point (".") and another sequence of // digits. // public override String ToString() { return(Number.FormatDecimal(this, null, NumberFormatInfo.CurrentInfo)); }
public string ToString(IFormatProvider provider) { return(Number.FormatDecimal(this, null, NumberFormatInfo.GetInstance(provider))); }
public String ToString(String format, IFormatProvider provider) { return(Number.FormatDecimal(this, format, provider)); }
public String ToString(IFormatProvider provider) { return(Number.FormatDecimal(this, null, provider)); }
public String ToString(String format) { return(Number.FormatDecimal(this, format, null)); }
// Converts this Decimal to a string. The resulting string consists of an // optional minus sign ("-") followed to a sequence of digits ("0" - "9"), // optionally followed by a decimal point (".") and another sequence of // digits. // public override String ToString() { return(Number.FormatDecimal(this, null, null)); }