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

support formatting percentage excelx numbers of arbitrary precision #596

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DubHunt
Copy link

@DubHunt DubHunt commented Aug 2, 2023

This fixes an issue where a percentage cell with a precision of 1 or 3+ digits after the decimal raises a RuntimeException.

Summary

This fixes a bug where an .xlsx file that had a cell formatted with a single digit precision, e.g., 4.2%, would raise an exception:

*** RuntimeError Exception: Unknown format: "0.0%"

It seems the only percentage formats that were supported were no digits after the decimal and two digits after the decimal. This fix should support any number of digits after the decimal.

This fixes an issue where a percentage cell with a precision
of 1 or 3+ digits after the decimal raises a RuntimeException.
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

Successfully merging this pull request may close these issues.

None yet

1 participant