Description Usage Arguments Value See Also Examples
This class associates a numeric vector with a currency. This is useful for
example in representing the value of a derivative. You can concatenate a set
SingleCurrencyMoney objects and return a
MultiCurrencyMoney object (see example below)
1  | SingleCurrencyMoney(value, currency)
 | 
value | 
 a numeric vector of values  | 
currency | 
 a single Currency object  | 
a SingleCurrencyMoney object
Other money functions: CashFlow,
MultiCurrencyMoney,
is.CashFlow,
is.MultiCurrencyMoney,
is.SingleCurrencyMoney
1 2  | SingleCurrencyMoney(1:5, AUD())
c(SingleCurrencyMoney(1, AUD()), SingleCurrencyMoney(100, USD()))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.