[Kmymoney-devel] [kmymoney4] [Bug 352789] Investment CSV import case sensitivity

aga agander93 at gmail.com
Tue Sep 22 12:08:35 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=352789

--- Comment #2 from allan <agander93 at gmail.com> ---
I'm still looking into this, but a query.

At the moment, there is a problem applying the different decimal symbol 
when then converting the text value to a MyMoneyMoney() value. 
Presently, when passing a valid text amount, the decimal separator is 
not getting recognised, and the result appears as though multiplied by 100.

I can avoid that by changing the KDE decimal symbol to a '.', and that 
imports correctly, but all of KMyMoney values now show that as their symbol.

When you are importing such a file, does that file use the  '.' symbol, 
or the ',' symbol?  In other words, are you expecting a mix of decimal 
symbols in that file?  Or, just the '.' symbol?

At the moment, I'm not sure such a mix is valid.  @Thomas

You say "... I have to change the CSV to have amount "300.00"... ".  I 
take it that you are editing the input file?  When you now import that, 
successfully, is it into a .kmy file with ',' as separator or '.'?  What 
is the KDE decimal symbol when importing? (in case you are changing this 
to cope).

Allan


More information about the KMyMoney-devel mailing list