Math Currency Requirements  

The following requirements are necessary when defining currency requirements within math expressions.

General Currency Requirements

 

Converting Currency Requirements

XML Examples

The following XML examples demonstrate how currency is defined within math expressions.

Currency Conversion Example

This example shows the conversion of a currency variable from US dollars (USD ) to Japan Yen (JPY):

<MathVariable VARIABLENAME=”DisbursementAmountJPY”
TYPE=”CURRENCY”
OPERATION=”CONVERT”
FROMCURRENCY=”Activity:DisbursementAmt:CurrencyCode”
TOCURRENCY=”JPY”
MARKETMAKER=”MarketMakerRef”
EXCHANGEDATE="Activity:EffectiveDate">
DisbursementAmt
</MathVariable>

Math variable with decimal literal assignment

This example shows a currency math variable being defined:

 

Math Variable with decimal literal assignment

 

Math variable with currency math variables in an expression

This example shows three math variables being defined:

 

Math variable with currency math variables in an expression

 

Math variable with currency math variables in an expression and currency conversion

This examples shows three math variables being defined:

 

Math variable with currency math variables in an expression and currency conversion