SingleCurrencyMoney: SingleCurrencyMoney

Description Usage Arguments Value See Also Examples

Description

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)

Usage

1
SingleCurrencyMoney(value, currency)

Arguments

value

a numeric vector of values

currency

a single Currency object

Value

a SingleCurrencyMoney object

See Also

Other money functions: CashFlow, MultiCurrencyMoney, is.CashFlow, is.MultiCurrencyMoney, is.SingleCurrencyMoney

Examples

1
2

fmbasics documentation built on May 2, 2019, 6:22 a.m.