News:

Support the VirtueMart project and become a member

Main Menu

Fixed Exchange rate calculation method

Started by magj, July 22, 2013, 12:36:39 PM

Previous topic - Next topic

magj

Hi

Sorry if it's asked before, I'm googling it (and searching it in this forum) for hours but I couldn't get it to work

I have a base currency call it AAA that is my shop's base currency , I want to have a fixed exchange rate to USD that I'll enter it daily or so.

1 USD = 40000 AAA

then it is : 0.000025
When I Set AAA to 1 and USD to 0.000025 , it is rounded to 0.00003
How should I enter this exchange rate?
When I Set it in reverse it's not working (AAA > 40000 and USD to 1)

Virtuemart 2.0.22a , Joomla 2.5.11 - PHP 5.3
Any help would be greatly appreciated
Regards

magj

Hi Again,

Any help?

I also tried some other ways , no luck!  :o

Regards

magj

bumping this in hope of some attention.

Could it be done in another way??

Regards


Maxim Pishnyak

Did you try to dig code that responsible for rounding exchange rate?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

magj

Thanks for your reply,
No, I couldn't find where is that exactly.

Regards

Maxim Pishnyak

You could do a text search 'currency_exchange_rate' in VM files.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart