* Martin Michlmayr <[email protected]> [2020-12-24 13:43]:
> = /^Pizza:/
>     Pizza:Taxes           (roundto(amount * 0.0775, 2))
>     CreditCard            (roundto(-amount * 0.0775, 2))
> 
> This does what you want.

> Unfortunately, it leads to an error due to a bug, but if you e.g.
> change the tax rate from 0.0775 to 0.0774 it works.

I've now reported that issue:
https://github.com/ledger/ledger/issues/1983
-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20201229131843.GC17251%40jirafa.cyrius.com.

Reply via email to