Previous Topic

Next Topic

GetExchangeRate - MaxBasic Function

GetExchangeRate(CurrencyCode: String, RateType: String, Date: Date): Number

Passed a CurrencyCode, Rate Type and Date, returns the Exchange Rate. Returns zero if no rate found.

GetExchangeRate function syntax has these named arguments:

Parameter

Description

Currency Code

Required. The currency code to get the rate for.

Rate Type

Required. The type of exchange rate.

Date

Required. The effective date for the exchange rate.

See also the SQL GetExchangeRate function and the Web Services GetExchangeRate function.

See Also

Foreign Exchange Functions

Book Contents

Book Index