Missing spaces in fraction denominator #2592

Open
opened 2020-10-04 16:07:37 +00:00 by snoopyjc · 0 comments
snoopyjc commented 2020-10-04 16:07:37 +00:00 (Migrated from github.com)

If a fraction format with an integer part has more '?' than the denominator has digits, then the right-padding with spaces is missing and extra left padding is provided. Also these test cases from fraction.json are wrong:

  [0.123251512342345, "# ??/?????????", "  480894/3901729"],
  [0.123251512342345, "# ?? / ?????????", "  480894 / 3901729"],

Here are the correct values:

  [0.123251512342345, "# ??/?????????", " 480894/3901729  "],
  [0.123251512342345, "# ?? / ?????????", " 480894 / 3901729  "],
If a fraction format with an integer part has more '?' than the denominator has digits, then the right-padding with spaces is missing and extra left padding is provided. Also these test cases from fraction.json are wrong: [0.123251512342345, "# ??/?????????", " 480894/3901729"], [0.123251512342345, "# ?? / ?????????", " 480894 / 3901729"], Here are the correct values: [0.123251512342345, "# ??/?????????", " 480894/3901729 "], [0.123251512342345, "# ?? / ?????????", " 480894 / 3901729 "],
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#2592
No description provided.