5 ms·
> In the French locale, the decimal point is the comma, so "121.5" is written "121,5". It means, of course, that the comma can't be used as a separator Heh. Ah
by msla 3y ago
> In the French locale, the decimal point is the comma, so "121.5" is written "121,5". It means, of course, that the comma can't be used as a separator
Heh. Ah, HN. Always good for a laugh line.
- samatman 3y agoYeah, hon hon hon and all, but one of my (US) bank statements exports a CSV which uses commas in numbers in the US fashion, so $1,500 and the like. Writing a custom CSV munger to intake that into ledger-csv was... fun, but then again, only had to do it once.
- stephenr 3y agoSurely if they're putting commas in values they were quoting the values though?
- samatman 3y agoThey were not. Fortunately the values are always prefixed by a dollar sign, making parsing deterministic, though ugly.
- deleted 3y ago[deleted]
- msla 3y agoThat's exactly my point, and I still got downvoted. This place...