summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r--doc/ledger3.texi11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index aafb079f..0e05ae6f 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -1102,18 +1102,13 @@ wanted to know how many ounces of gold that would buy, in terms of the
current price of gold:
@smallexample
-$ ledger -T "@{1 AU@}*(O/P@{1 AU@})" balance checking
+$ ledger -X AU balance checking
@end smallexample
-Although the total expression appears complex, it is simply saying
-that the reported total should be in multiples of AU units, where the
-quantity is the account total divided by the price of one AU. Without
-the initial multiplication, the reported total would still use the
-dollars commodity, since multiplying or dividing amounts always keeps
-the left value's commodity. The result of this command might be:
+The result of this command might be:
@smallexample
-14.01 AU Assets:Checking
+12.50 AU Assets:Checking
@end smallexample
@menu