Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value in scientific notifications format will be rounded #1027

Closed
weeee9 opened this issue Sep 27, 2021 · 1 comment
Closed

Value in scientific notifications format will be rounded #1027

weeee9 opened this issue Sep 27, 2021 · 1 comment
Labels
confirmed This issue can be reproduced

Comments

@weeee9
Copy link

weeee9 commented Sep 27, 2021

Description
Cell value in scientific notifications format will be rounded
For example, 2.23E+00 will be round to 2e+00

Steps to reproduce the issue:

  1. Change cell value to scientific notifications format
  2. Read rows

Describe the results you received:
2e+00

Describe the results you expected:
2.23E+00 or 2.23

Output of go version:

go version go1.16.5 darwin/arm64

Excelize version or commit ID:

v2.3.2
@xuri xuri added the confirmed This issue can be reproduced label Sep 28, 2021
@xuri xuri closed this as completed in 2d8b5b1 Sep 28, 2021
@xuri
Copy link
Member

xuri commented Sep 28, 2021

Thanks for your issue, I have fixed it, please upgrade to the master branch code, and this patch will be released in the next version.

jenbonzhang pushed a commit to jenbonzhang/excelize that referenced this issue Oct 22, 2023
* Fix build-in scientific number format failed
* An error will be returned if given an invalid custom number format when creating a new style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed This issue can be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants