On May 25, 2009, at 8:58 AM, Derek Mahar wrote:

Excellent feature!  Where may I find a description of the format of
these expressions?  This will make interest calculations, for example,
much easier.

To use any expression for a posting's amount or cost, just surround the expression in parentheses. For example (in 3.0):

  Expenses:Food           ($10.00 + $2.50)
  Expenses:Misc           (account_total("Expenses:Food") * 10%)

I haven't checked in the % operator yet, still testing it. You can multiple by 0.10 to achieve the same effect.

John

Reply via email to