Re: Having Problems With XML

2011-11-01 Thread John Wiegley
Ryan May ryan-wtxsuusx66j3fq9qlvq...@public.gmane.org writes: i.e. The name of an account like Assets:Chequing:Bank is recorded simply as nameBank/bank. The full name of the account does seem to be implied by the ordering of the XML: I believe it's expected that the reader will build up an

Controlling the precision displayed in amounts

2011-11-01 Thread Craig Earls
John, I am totally mystified at how ledger is determining what to display. Is there a way to control the precision used to display a quantity? e.g.: force --format %(quantity(strip(display_total))) to show only 4 significant figures? I am trying to generate data for an external program and

Re: Controlling the precision displayed in amounts

2011-11-01 Thread John Wiegley
Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org writes: I am totally mystified at how ledger is determining what to display. Is there a way to control the precision used to display a quantity? e.g.: force --format %(quantity(strip(display_total))) to show only 4 significant