sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

E-00 format doesn't display the leading 0

Open snoopyjc opened this issue 5 years ago • 0 comments

A number format with 'E-00' always should display at least a 2-digit exponent. This only works correctly for 'E+00', not 'E-00':

console.log(SSF.format("##0.0E-00", 1))
1.0E0

snoopyjc avatar Oct 03 '20 23:10 snoopyjc