Answer the question
In order to leave comments, you need to log in
How to organize a withdrawal in one currency?
There are offers in the database, each offer has a price and the currency in which it is indicated.
We also have the default currency and the exchange rate.
How to organize a withdrawal in the default currency, changing the prices at the specified exchange rate for offers with a price indicated in another currency?
I work with MySQL.
Answer the question
In order to leave comments, you need to log in
Do you want to do this in MySQL?
Wouldn't it be easier to convert prices already when outputting?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question