summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorvalankar <31250800+valankar@users.noreply.github.com>2023-06-10 18:28:38 +0200
committerGitHub <noreply@github.com>2023-06-10 18:28:38 +0200
commit751fcef321d2f114e1aebfd07d4c836011034e89 (patch)
tree916153573af089a3a86af039c4dea6c27387df17 /doc
parentdd8285c5644046ccb3dd1fd5191d1ae57242308f (diff)
downloadfork-ledger-751fcef321d2f114e1aebfd07d4c836011034e89.tar.gz
fork-ledger-751fcef321d2f114e1aebfd07d4c836011034e89.tar.bz2
fork-ledger-751fcef321d2f114e1aebfd07d4c836011034e89.zip
Update doc/ledger3.texi
Co-authored-by: Alexis Hildebrandt <afh@surryhill.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index afb84856..8fa12142 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -4186,8 +4186,8 @@ can be setup with the following:
; the amount of the transaction multiplied by the "cashback" tag.
= "Liabilities:Credit Card" and %cashback
- Assets:Credit Card Cashback (-tag("cashback"))
- Income:Credit Card Rewards (tag("cashback"))
+ Assets:Credit Card Cashback (-amount * tag("cashback") * 0.01)
+ Income:Credit Card Rewards (amount * tag("cashback") * 0.01)
@end smallexample
To add a transaction that gives 2% cashback: