Mutual Fund Price to $0.000001

Randall Hopper aa8vb@nc.rr.com
Sun, 2 Sep 2001 09:44:27 -0400


Robert A. Uhl:
 |On Sat, Sep 01, 2001 at 07:50:47PM -0400, Randall Hopper wrote:
 |>      I have a 401K with mutual funds share prices kept to $0.000001.  How
 |> can I get the Mutual Fund Account Transaction window to keep the extra 3
 |> digits?  Or is it possible?
 |
 |Tools:Commodity Editor
 |
 |Select the commodity you use to track your mutual fund.  Click on
 |edit.  Enter 100000000 in the fraction traded bit.  That should do it,
 |I believe.

Ok, did that.  Though I used 1000000 (for 6 decimal digits).

Dave Peticolas:
 |You will also need to change the 'scu' field in the account
 |to 100000000. Currently, the only way to do that is to edit
 |the xml file directly, but it's easy to do.

Didn't know that was XML -- cool.  Well, there seems to be some sort of bug
at work here because it didn't work.  As a follow-up test, I did this: in
that gnc:account, I just changed:

  <act:currency-scu>1000000</act:currency-scu>
  <act:security-scu>10000</act:security-scu>

invoked gnucash, re-keyed the 6-digit Unit Price, saved it, and then found
that the gnucash.dat file contained:

  <act:currency-scu>100</act:currency-scu>
  <act:security-scu>1000000</act:security-scu>

for that same account.  Some the scu's seem to be getting mixed up internally.

Also, I should note (in case it's related) that whenever I start GNUCash up
this morning, I get 10 of these messages:

  Warning: PrintAmountInternal: max_decimal_places too small

These are new. I didn't get them yesterday.

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com