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

Split format function and null formats #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andreyea
Copy link

@andreyea andreyea commented Dec 4, 2021

This pull request allows specials characters (; \ * ) to be inside double quotes in format definition. For example, "***";"*_".

If a format string is defined as #,###;; (return formatted value for positives and return empty string for negatives and zeroes), it will treat all null definitions as a single space. This is a valid format in Excel.

This also covers issue SheetJS/sheetjs#2569

Allow special characters inside double quotes.
If fmt.length is 0, treat the format as a single space.
Format string example: #,###;;
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.

1 participant