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

[Feature] TRUE FALSE stored as number 0 1 #1534

Closed
2 tasks done
Dushusir opened this issue Mar 9, 2024 · 0 comments · Fixed by #1605
Closed
2 tasks done

[Feature] TRUE FALSE stored as number 0 1 #1534

Dushusir opened this issue Mar 9, 2024 · 0 comments · Fixed by #1605
Assignees
Labels

Comments

@Dushusir
Copy link
Member

Dushusir commented Mar 9, 2024

Initial checklist

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Problem

TRUE FALSE stored as string

{
  "v": "FALSE", // FALSE
}

Solution

TRUE FALSE stored as boolean number,like

{
  "v": 0, // FALSE
  "t": CellValueType.BOOLEAN
}

Be consistent with Excel

@Dushusir Dushusir added the feature request New feature or request label Mar 9, 2024
@Dushusir Dushusir self-assigned this Mar 9, 2024
wzhudev added a commit that referenced this issue Mar 16, 2024
close #1534

BREAKING CHANGE:
Before:
Boolean values ("TRUE" "FALSE") were stored in the IWorkbooData
as strings.
After:
Boolean values would be store as number (0, 1).
wzhudev added a commit that referenced this issue Mar 16, 2024
close #1534

BREAKING CHANGE:
Before:
Boolean values ("TRUE" "FALSE") were stored in the IWorkbooData
as strings.
After:
Boolean values would be store as number (0, 1).
wzhudev added a commit that referenced this issue Mar 16, 2024
* fix(sheets): boolean should store as number

close #1534

BREAKING CHANGE:
Before:
Boolean values ("TRUE" "FALSE") were stored in the IWorkbooData
as strings.
After:
Boolean values would be store as number (0, 1).
ybzky pushed a commit that referenced this issue Mar 19, 2024
* fix(sheets): boolean should store as number

close #1534

BREAKING CHANGE:
Before:
Boolean values ("TRUE" "FALSE") were stored in the IWorkbooData
as strings.
After:
Boolean values would be store as number (0, 1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants