Created attachment 150491 [details] calculated result with LANG=C I'm calculating loans with financial calculator like the GnuCash Concepts Guide Chapter 7.3 (http://svn.gnucash.org/docs/guide/loans_calcs1.html). When I use it in LANG=C environment, the calculated result is the same as the Guide because the internal precision seems to be second decimal places. But when I use it in LANG=ja, the calculated result is different because the internal precison seems to be integer. Please see two attached files. fc_LANG_C.png: calculated result with LANG=C fc_LANG_ja.png: calculated result with LANG=ja (Japanese gnucash.mo is removed)
Created attachment 150492 [details] calculated result with LANG=ja (Japanese gnucash.mo is removed)
Request For Enhancement I think it is better to be able to select currency in financial calculator.
I think this is the offending line https://github.com/Gnucash/gnucash/blob/2d06d703f2164eeeb7782f61a379fc1dc06735ba/gnucash/gnome/dialog-fincalc.c#L156 Should there be option for decimal places? It's just a calculator...
Yup, that would do it. Yeah, a GtkSpinButton with values from 0-9 would be a more appropriate way to set the precision than getting the SCU for the default currency.
fixed, will appear in 3.7 https://github.com/Gnucash/gnucash/commit/13d3179729130f893