GetExchangeRate Method

The GetExchangeRate method calculates the exchange rate between two currencies. It returns the exchange rate as a double precision, floating point number. It uses the following syntax:

GetExchangeRate(input_value, output_value, exchange_date) 

where:

  • input_value is a string that identifies the currency code that Siebel Open UI uses for the input value when it calculates the exchange rate.

  • output_value is a string that identifies the currency code that Siebel Open UI uses for the output value when it calculates the exchange rate.

  • exchange_date is a string that includes the date of the currency exchange.

For example:

SiebelApp.S_App.LocaleObject.GetExchangeRate("USD", "INR", "11/05/2012")