README.md

LibreOffice Bugs

Rounding and "ulp" errors

Original SheetJS Bug Report

Original LO Bug Report

Excel will write the full IEEE754 value. This affects values like 0.1 + 0.2 which have stored values like 0.30000000000000004. Excel "General" formatting is strategically chosen to cap at 11 digits, avoiding these issues in display.

LibreOffice rounds off the last few digits.

The following files are referenced in the issues:

Look at cell C172 in the sheet1.xml subfile of each. The Excel files show:

      <c r="C172" s="1">
        <v>3.2400000000000005E-2</v>
      </c>

The LO file shows:

      <c r="C172" s="4" t="n">
        <v>0.0324</v>
      </c>

Analytics