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

解决读取颜色数据生成String时末尾多一个空格的问题,并且增加了测试文件 #2440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edalring
Copy link

Fixes #2346

我发现该格式的数字在读取为字符串的时候,由于该格式的dataFormat最后多留了一个空格,最后在转成字符串之前的处理没有将其删掉,所以会出现读取多一个空格的情况。我尝试在excel\metadata\format\DataFormatter.javacleanFormatForNumber()中增加了判断dataFormat最后多余的空格,并将其删去,解决了这个问题。
如果还有其他什么问题,请告诉我,谢谢!

@CLAassistant
Copy link

CLAassistant commented Apr 23, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants