Previous Topic

Next Topic

Foreign Exchange Functions

Function

Description

ConvertBaseToFX

Converts a base amount to an FX amount.

ConvertFXToBase

Converts an FX amount to a base amount.

CurrencyOf

Returns the currency code of a currency value.

GetBaseCurrency

Returns the currency code for the base currency.

GetExchangeRate

Returns the exchange rate for a currency code, rate type and date. Requires Exchange Rate Table.

GetLowerRateLimit

Returns the lower exchange rate limit for a currency code.

GetUpperRateLimit

Returns the upper exchange rate limit for a currency code.

IsCurrency

Returns true for currency values.

MakeCurrency

Returns a currency value for an amount and currency code.

SetExchangeRate

Sets the exchange rate for a currency code, rate type and date with optional expiry date. Requires Exchange Rate Table.

SetRateLimits

Sets Lower and Upper rate limits for a Currency.

In This Section

ConvertBaseToFX - MaxBasic Function

ConvertFXToBase - MaxBasic Function

CurrencyOf - MaxBasic Function

GetBaseCurrency - MaxBasic Function

GetExchangeRate - MaxBasic Function

GetLowerRateLimit - MaxBasic Function

GetUpperRateLimit - MaxBasic Function

IsCurrency - MaxBasic Function

MakeCurrency - MaxBasic Function

SetExchangeRate - MaxBasic Function

SetRateLimits - MaxBasic Function

See Also

MaxBasic Functions

Book Contents

Book Index