The best way is to use a value expression in your automatic transaction:

= /^Income/
  (Liabilities:Tithe)  (0.1 * round(amount))


Unfortunately, round doesn't seem to let you control the precision so
you won't notice much since it will round to two digits.

I have another request to allow user controlled precision, but maybe
John has a different method.



On Fri, Jan 6, 2012 at 13:35, Zack Williams <[email protected]> wrote:
>> Is it possible to specify the rounding formula in a automatic transaction?
>>  My specific case is that of tithe, I know I might be nitpicking, but still,
>> I think it would be useful to have a way to say, always round up in the X
>> decimal place, or always round down.  Here is an example:
>
> I get similar results with payroll automatic transactions and
> partial-cents rounding up or down after a few pay periods.
>
> While it isn't "tidy", over the course of multiple transactions it is
> more accurate, as these fractions of a cent may eventually accumulate
> to a whole cent, and a rounding formula would likely throw this off.
>
> (Insert Superman 2/Office Space joke here)
>
> - Zack



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Reply via email to