public Money ToCurrency(string isocode) { Currency newc = MoneyString.FromString(isocode); Money m = new Money(this.Amount * CrossRate(newc, this.Currency), newc); return(m); }
static NinjaTrader.Cbi.Currency LocalCurrency() { RegionInfo regionInfo = new RegionInfo(CultureInfo.CurrentCulture.LCID); return(MoneyString.FromString(regionInfo.ISOCurrencySymbol)); }
public Money(decimal amount, string isoCurrencySymbol) : this(amount, MoneyString.FromString(isoCurrencySymbol)) { }
public Money(string isoCurrencySymbol) : this(MoneyString.FromString(isoCurrencySymbol)) { }