Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treatment of cells with constant formula #213

Open
Connum opened this issue Jan 24, 2022 · 0 comments
Open

treatment of cells with constant formula #213

Connum opened this issue Jan 24, 2022 · 0 comments

Comments

@Connum
Copy link

Connum commented Jan 24, 2022

I don't know if "constant formula" is an official term, but I read it somewhere. What I mean is the following:
It's possible to prefix a quoted cell content with an equal sign, e.g. in order to prevent Excel from losing any leading zeros when the content is numeric, for example:
...;="0001234";...
When I use this library to parse files containing this notation, the value is simply read as the whole string including the equal sign and quotes (="0001234 in the case of the example).

So I have to iterate over all fields and replace this if it occurs.
I don't think this is part of the CSV spec, but rather something that Excel and other tools support, but would it be possible to add this as a parsing option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant