Mutual Fund Account: How to modify Decimal Places

Johannes Graumann johannes_graumann at web.de
Fri Dec 25 11:21:16 EST 2009


Fred Bone wrote:

> On 23 December 2009 at 21:41, Johannes Graumann said:
> 
>> Hi,
>> 
>> I created a mutual fund account tracking a depot containing a fund that
>> is traded in 1/1000000 fractions. The fund is defined via the security
>> editor with a fraction of "1000000", but no matter what I set in "Edit-
>> >Preferences->General->Numbers/Decimal Places", the ledger of the account
>> doesn't allow me to enter values at the precision required. The "Shares"
>> column allows 3, "Buy" and "Sell" just two decimal places. Any advice on
>> how to fix that?
> 
> Buy and Sell are denominated in your default currency, which I guess
> (from your mail domain) would be EUR.
> 
> What do you have for "Smallest Fraction" when you "Edit" the account?
> 
> (I created a "Test" commodity with traded fraction 1/1000000, then
> assigned it as the commodity of a "test" account, leaving "Smallest
> Fraction" set to "Use commodity value". I then opened the account and
> entered a "buy" transaction, for 1.234567 units at a price of 14.00.
> Ledger now shows 1.234567 units at 13.9968 costing 17.28).

You were indeed on the right track ... for some reason (all my other 
accounts are set to "Use commodity value") this particular one was set to 
"1/1000" ... fixed now. Sorry about the noise and thanks for making me look 
in the right place.

Joh



More information about the gnucash-user mailing list