excelize
excelize copied to clipboard
numFmt cannot handle format
Description numFmt does not handle format "000" correctly. In numfmt.go:340, only "0" is handled and not any other zero placeholders.
Steps to reproduce the issue:
- Download npf-test.zip
- Extract to a temporary directory
- Run
go run .
Describe the results you received:
❯ go run .
0 123
Describe the results you expected:
❯ go run .
0 123
1 456
Output of go version
:
go version go1.19 darwin/amd64
Excelize version or commit ID:
v2.6.0
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Thanks for your feedback. This issue has been fixed, please upgrade to the master branch code, and this patch will be released in the next version.