public static decimal ConvertFromUSD(this decimal?value, Enums.PrintingEditions.Currency currency) { value = value * Constants.ExchangeRates.fromUSD[currency]; return(value.GetValueOrDefault()); }
public static decimal ConvertToUSD(this decimal value, Enums.PrintingEditions.Currency currency) { value = value * Constants.ExchangeRates.toUSD[currency]; return(value); }