annoyingly rounding off

Mark Smith gnucashorg at awayand.sleepmail.com
Sat Jan 19 22:16:16 EST 2013


> >>> I have a transaction that does not accept decimal places, whenever I
> >>> enter something like 11.33, it rounds off to 11.00.
> >>> 
> >> I'll hazard a guess that it's a security account and that you set the
> >> fraction to 1/1 when you created the security. You can fix that in
> >> Tools>Security Editor.
> > 
> > Thanks, but unfortunately that was not it. Seems to be a bug. Something
> > is messed up with the locale (just a hunch) or the trading accounts
> > (since this happens in transactions involving trading accounts). I tried
> > to edit existing transactions, and they have the same problem. The
> > transactions are recorded correctly with decimals, but when I click into
> > the field, the display of the number changes to a rounded number. I have
> > checked the settings of the account, its smalles fraction is set to "use
> > commodity value".
> > Here is a demo of my problem: http://imgur.com/yEPr9tT
> > I am using v.2.4.11 on windows. Thanks!
> 
> Please supply the following for each of the accounts in the transaction
> and indicate which accounts are exhibiting the problem:
> * Account type (e.g., stock, bank, expense, etc.)
> * Commodity/Security/Currency (e.g., currrency EUR, USD, or
> commodity/security name -- e.g., Boeing, Apple, Gold)
> For each currency/commodity/security, what is the "Fraction Traded" from
> the *security* editor? (Currencies become visible in the security list
> when you check the box "Show national currencies" at the bottom).
> What locale are you using? What OS?

Accounts involved in the transaction:
"Expenses:Fun:Travel JPY" - Account type: "Expense", Currency: "JPY",
Fraction is security list: "1"
"Trading:CURRENCY:EUR" - Account type: "Trading", Currency: "EUR",
Fraction is security list: "100"
"Liabilities:MyCreditCard" - Account type: "Credit Card", Currency:
"EUR", Fraction is security list: "100"
"Trading:CURRENCY:JPY" - Account type: "Trading", Currency: "JPY",
Fraction is security list: "1"
My OS is Windows 7 64bit, locale is set to:
LANG=en_US
LANGUAGE={LANG}
inside of the file C:\Program Files
(x86)\gnucash\etc\gnucash\environment
The control panel "Region and Language settings" says:
Format: "English (United States)"
Location: "United States"
Display Language: "English"
System locale: "English (United States)"

I can send the file in question if you prefer. I really appreciate your
help! Thank you.


More information about the gnucash-user mailing list