Apache OpenOffice (AOO) Bugzilla – Issue 127274
Style containing scientific notation changed on open after save
Last modified: 2017-01-08 20:39:19 UTC
1) Create new spreadsheet 2) Create style with custom format code of 0.0e-0 3) Save and close 4) Open spreadsheet 5) Style format code will be 0.0E+0 (i.e., changed) Note: the same issue occurs if you apply the format directly (no style)
What kind of format did you expect with this notation?
(In reply to oooforum (fr) from comment #1) > What kind of format did you expect with this notation? Desired: +1E+6 => 1.0e6 +1E-6 => 1.0e-6 -1E+6 => -1.0e6 -1E-6 => -1.0e-6 Which works as expected, but after a save/open it reverts back to 0.0E+6 After save and open: +1E+6 => 1.0E+6 +1E-6 => 1.0E-6 -1E+6 => -1.0E+6 -1E-6 => -1.0E-6
This appears due to be to a "deficiency" in the ODF specification. As far as I can tell, the formatting of scientific notation does not store case of the 'E' or the sign of the exponent. If so, it probably should be moved to the appropriate issue section.