;doc: csv: amount decimal places: edits

This commit is contained in:
Simon Michael 2024-04-24 14:23:00 -10:00
parent 876f115806
commit 5397c73a1a

View File

@ -3835,10 +3835,10 @@ that would trigger the prepending effect, which we don't want here.
### Amount decimal places ### Amount decimal places
When you are reading CSV data, eg with a command like `hledger -f foo.csv print`, 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)) hledger will infer each commodity's decimal precision (and other [commodity display styles](#commodity-display-styles)) from the amounts -
from the amounts - much as when reading a journal file without `commodity` directives (see the link). much as when reading a journal file without `commodity` directives (see the link).
Note these commodity styles are not inferred from the numbers in the original CSV data; But note these commodity styles are not inferred from the numbers in the original CSV data;
rather, they are inferred from the amounts 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`, When you are importing CSV data with the `import` command, eg `hledger import foo.csv`,