We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi,在解析百分比格式时发现这样的一个问题,0.0X%会识别出现错误。 如图 这图中三个单元格不能正确的识别
The text was updated successfully, but these errors were encountered:
接收对象是double吗?是出现精度丢失还是其它问题?可以使用BigDecimal或者String接收,然后再处理小数点后4位就行。
测试代码
public static class O { @ExcelColumn("名称") private String code; @ExcelColumn("double1") private BigDecimal d; @Override public String toString() { return code + ": " + d.setScale(4, BigDecimal.ROUND_HALF_UP); } }
Sorry, something went wrong.
并且我使用double接收也没有发现问题,分别输出9.0E-4,4.0E-4,6.0E-4
9.0E-4,4.0E-4,6.0E-4
好的,谢谢,我在看下。
No branches or pull requests
hi,在解析百分比格式时发现这样的一个问题,0.0X%会识别出现错误。
![image](https://user-images.githubusercontent.com/26085956/164724232-889ead90-fb4d-4733-a74d-1ec1c6d85913.png)
如图
这图中三个单元格不能正确的识别
The text was updated successfully, but these errors were encountered: