Comments (5)
I have performed the currency update from the desktop application.
From what I see, this added 0 to the Scale field for HUF currency. Close, reopen the currency view, and the conversion to base rate is now 0.0033 instead of 306.xx.
Now the numbers are OK.
There is a problem somewhere when updating the currencies initially. Perhaps from Android, or a different locale?
from android-money-manager-ex.
Test 1
PC:
- create db
- create EUR account, initial balance €100
- create HUF account, initial balance 0
- sync via Dropbox
Android:
- create transfer EUR->HUF of €50.
Result: can't edit the HUF amount. The currency for EUR account is displayed as "L". (?)
https://www.dropbox.com/s/fw684qti9fuvxw9/alen.mmb?dl=0
Test 2
PC:
- create db
- sync via Dropbox
Android:
- create EUR account, initial balance €100
- create HUF account, initial balance 0
- create transfer of €50 EUR->HUF, destination amount 15000 Ft. (amount editable)
- update currencies
Result: the EUR/HUF rate is wrong.
https://www.dropbox.com/s/j0nwm15hjm14bnj/test2.mmb?dl=0
My conclusion is that the error is somewhere in Android currency update. My original issue was solved after I updated currencies in the Windows desktop version of Money Manager Ex.
What was confusing in the original case was that, in Android, the rate was displayed as 306, which looked correct as that is the rate. But in reality the currencies were swapped. The real rate was supposed to be 1/306 = 0.0033. This is the rate that was set after the desktop currency update.
I'll copy this comment into the related GitHub issue, as well.
from android-money-manager-ex.
I checked the database I used for testing a few days ago. There, HUF has a Scale of 1 and Conversion of 306.673.
from android-money-manager-ex.
So, the source for the currency conversion http://www.freecurrencyconverterapi.com/api/convert?q=EUR-HUF&compact=y
returns {"EUR-HUF":{"val":306.6727}}
However, it should be http://www.freecurrencyconverterapi.com/api/convert?q=HUF-EUR&compact=y
, {"HUF-EUR":{"val":0.0033}}
.
OK, so this is the source of the problem.
from android-money-manager-ex.
Thanks. Merged and fixed!
Pull request #24
from android-money-manager-ex.
Related Issues (20)
- Can't open any transaccion (crash) HOT 11
- Can't open MMEX file from Nextcloud application (F-Droid version) HOT 4
- only 2 reports working
- Updating amount calc doesn't work HOT 4
- Bug on + button HOT 9
- Some Reports submenus not opening HOT 5
- dropbox and syncthing sync don't work properly HOT 8
- Auto add scheduled transactions at launch HOT 14
- "Income vs. Expenses" report calculates share transaction with transfer type incorrectly HOT 1
- Notifications are blocked? HOT 5
- No operation possible after update HOT 4
- MMEX v2024.04.21 (1029): some reports not working HOT 1
- Problem with biometric security / pin protection HOT 1
- Switch between DBs requires password HOT 1
- Error sorting Payees by usage
- Arabic translation update HOT 4
- View reports by parent categories HOT 1
- Auto update/sync Google drive HOT 1
- Database created/modified on Linux (Appimage) won't work on Android HOT 4
- Crash during automate testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-money-manager-ex.