Skip to content

Non-US number formats: delim = ',' is not handled well  #1150

Open
@roland-KA

Description

@roland-KA

In most European countries (and elsewhere) the comma is used a decimal delimiter. At the same time the dot is used as a thousands separator. I.e. you see typically numbers in the following form (especially for currency values) :

5.840,72
5.860,72
4.593,58
5.335,72
5.981,53

If you export such numbers from Excel to a CSV file, this exact format is retained. If that CSV file is read by CSV.jl with delim = ',', the values are not recognised as numbers (but as Strings) and you have to manually replace the separators and convert all data to numbers. As this is such a common use case, it is really annoying.

Therefore CSV.jl should act more "intelligent" in this case (like similar CSV-packages in other programming languages do) and recognise these values as numbers, if delim = ',' is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions