-
Notifications
You must be signed in to change notification settings - Fork 42
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
% formatting ignored when generating CSV #28
Comments
@Gagravarr Hi, we will fix the formatting of percentage values in the next Parso version. Thank you for the test file. Tell me please, can we use this file for Parso tests in the future? |
Yup, it was specifically created for testing, please feel free to use as you wish / as helps! |
Thanks! |
Was resolved in the recent commit (unfortunately I messed up with issue numbers and put 23 instead of 28). |
I've just tried with Apache Tika and a build from github head, and I can confirm the % values are extracting as expected, thanks! Once there's a new release, I'll bump the Tika dependency to take advantage of the fix. |
For a column that's percent formatted, eg with something like:
If you convert it with
CSVDataWriter
you get the raw number like0.6
or0.833333333333333
rather than the formatted values like60%
or83.3%
In this small test sas7bdat file, the percentage formats are applied to the 4th and 5th columns (pctdone and pctincr). SAS Viewer screenshot of the expected values below.
The text was updated successfully, but these errors were encountered: