currencyRate
Last updated
Last updated
currencyRate() function is the Standard function available in 200OK.
Description : The currencyrate function returns the conversion rate based on the provided amount and conversion rate.
Syntax : fx_currencyrate(amount,conversionRate)
Example : fx_currencyrate(200,80) returns 2.5 as the response, indicating the converted amount based on the provided conversion rate.
Here we go with simple scenario using the above function.
Scenario : In a global finance application, users frequently need to calculate currency conversion rates for various transactions. Utilizing a specialized function, the system efficiently computes the conversion rate based on the provided amount and exchange rate, ensuring accurate financial transactions.
Request Side :
Response Side :