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

修复了自定义的数字格式读取结果不对的问题 #2515

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

Conversation

zyd0131
Copy link

@zyd0131 zyd0131 commented May 28, 2022

对于自定义的数字格式,原程序中只检测和处理了格式中的,,对于0!.0,格式,小数点与,之间有一个0没有被检测和处理到,所以原数值处理过程中只计算了,代表的1000,原数值9234读取显示错误结果9.2。我在DataFormatter.java的对应方法中添加了对于小数点与,之间的0的个数的检测与处理,使自定义0!.0,格式的数字结果进行了正确的显示,解决了 #2319 提出的问题。

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.

1 participant