;doc: csv: amount decimal places: edits

This commit is contained in:
Simon Michael 2024-04-24 14:25:17 -10:00
parent 5397c73a1a
commit a439a7ba78

View File

@ -3841,8 +3841,8 @@ 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; 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`, there's another step:
there's another step: `import` tries to make the new entries [conform](#commodity-display-styles) to the journal's existing styles. `import` tries to make the new entries [conform](#commodity-display-styles) to the journal's existing styles.
So for each commodity - let's say it's EUR - `import` will choose: So for each commodity - let's say it's EUR - `import` will choose:
1. the style declared for EUR by [a `commodity` directive](#commodity-directive) in the journal 1. the style declared for EUR by [a `commodity` directive](#commodity-directive) in the journal