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

Custom cell format not applying #2565

Open
lefthandedgoat opened this issue Jun 4, 2019 · 1 comment
Open

Custom cell format not applying #2565

lefthandedgoat opened this issue Jun 4, 2019 · 1 comment

Comments

@lefthandedgoat
Copy link

I have found a custom format that is not applying correctly.

#,##0.0000 %

If I remove the space it works correctly, but the files I am processing are from a third party and I can not modify them.

image

I will also send an email with a excel sheet to reproduce.

Please let me know if there is anything else I can do to help. Thanks!

@SheetJSDev SheetJSDev transferred this issue from SheetJS/sheetjs Jun 17, 2020
@snoopyjc
Copy link
Contributor

snoopyjc commented Oct 3, 2020

The '%' character needs to be treated as any other escaped character in the format in that it appears unchanged in the output in the same place it appears in the format, and then the value is multiplied by 100 for each '%' found before being formatted.

@reviewher reviewher transferred this issue from SheetJS/ssf Mar 9, 2022
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

2 participants