public static Amount Parse(string str, IFormatProvider format) { return(AmountConverter.FromString(str, format)); }
public string ToString(string format, IFormatProvider formatProvider) { return(AmountConverter.ToString(this, format, formatProvider)); }
public static Amount Parse(string str) { return(AmountConverter.FromString(str, CultureInfo.CurrentCulture)); }
public override string ToString() { return(AmountConverter.ToString(this, NumberFormat)); // this is obviously formatting for user, not serialization }