fix:add: rethink adding default commodity symbol; fix doc instead (part 2) [#815]

This commit is contained in:
Simon Michael 2024-01-04 21:13:40 -10:00
parent 62e3ec9b34
commit 529d930b5a

View File

@ -32,7 +32,7 @@ $ hledger -f $$-add.j add; rm -f $$-add.j
> /Date.*Description.*Account 1.*Amount 1.*Account 2.*Amount 2.*Account 3.*or \. or enter to finish.*/
>2 //
# ** 4. default commodity with greater precision
# ** 4. default commodity with greater precision does not alter entered precision
<
@ -46,7 +46,7 @@ $ printf 'D A1000.00\n' >t$$.j; hledger -f t$$.j add >/dev/null; cat t$$.j; rm
> /a +A1000\.0/
>2 //
# ** 5. default commodity with less precision
# ** 5. default commodity with less precision does not alter entered precision
<
@ -71,7 +71,7 @@ b
.
$ printf 'D A1000.00\n' >t$$.j; hledger -f t$$.j add >/dev/null; cat t$$.j; rm -f t$$.j
> /a +1000\.00/
> /a +1000/
>2 //
# ** 7. existing commodity with greater precision