-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Number rounding issue #1328
Comments
Thanks for your feedback. Could you provides the workbook file as an attachment without confidential info? |
thanks for the reply also the result when i printed out the rows are: |
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. |
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
- Add new smooth field in chart format parameter, support specify if smooth line chart - Fix decimal number format round issue with build-in number format
Description
Float number is always rounded down
Steps to reproduce the issue:
Uploading excel with this value
notes the circled value, raw value is 463.614634146341
and the excel value is 464 (because of the rounding formatting)
Tried on some excel version and it's getting different behaviour (it's giving expected value in excel 2007 but not on 2020)
Describe the results you received:
Result from excelize
GetRows
method is returning 463 (rounded down)Describe the results you expected:
Expected it to return 464
Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Mac OS Monterey, Excel version 2020
The text was updated successfully, but these errors were encountered: