Skip to content

Commit

Permalink
;doc: csv: amount decimal places: edits
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Apr 24, 2024
1 parent 69c0df4 commit 7f72cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hledger/hledger.m4.md
Expand Up @@ -3838,7 +3838,7 @@ When you are reading CSV data, eg with a command like `hledger -f foo.csv print`
hledger will infer each commodity's decimal precision (and other [commodity display styles](#commodity-display-styles))
from the amounts - much as when reading a journal file without `commodity` directives (see the link).
But note these commodity styles are not inferred from the numbers in the original CSV data;
rather, they are inferred from the journal entries generated by the CSV rules.
rather, they are inferred from the amounts generated by the CSV rules.

When you are importing CSV data with the `import` command, eg `hledger import foo.csv`,
it's a little different: `import` [applies](#commodity-display-styles) the journal's existing commodity styles to the new entries.
Expand Down

0 comments on commit 7f72cce

Please sign in to comment.