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
在对CSV文件写入的时候,不足2位精度的需要用0做补齐,写入的是字符串:1.10,但是在打开CSV文件的时候(WPS,微软的excel),发现展示的是1.1。会把小数位数上的0舍弃掉。 请求如何解决这个问题。尝试过使用@numberformat("#0.00")注解,也同时尝试过使用DecimalFormat decimalFormat = new DecimalFormat("0.00#") 方式进行格式化到字符串,发现还是不行
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在对CSV文件写入的时候,不足2位精度的需要用0做补齐,写入的是字符串:1.10,但是在打开CSV文件的时候(WPS,微软的excel),发现展示的是1.1。会把小数位数上的0舍弃掉。 请求如何解决这个问题。尝试过使用@numberformat("#0.00")注解,也同时尝试过使用DecimalFormat decimalFormat = new DecimalFormat("0.00#") 方式进行格式化到字符串,发现还是不行
The text was updated successfully, but these errors were encountered: