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

浮点类型0.00000000000怎么才能导出为0 #2513

Closed
JackMa1046 opened this issue Mar 30, 2024 · 3 comments
Closed

浮点类型0.00000000000怎么才能导出为0 #2513

JackMa1046 opened this issue Mar 30, 2024 · 3 comments

Comments

@JackMa1046
Copy link

版本号:1.7.2
问题描述:数据库字段是浮点类型,返回0.0000000000,报表设置单元格格式为数值,预览的时候展示0,导出却显示0.000000000,怎么才能导出为0
错误日志&截图:

image
image

重现步骤:

友情提示(为了提高issue处理效率):

  • 积木报表是一款免费报表产品,功能免费源码不开放;
  • 未按格式要求发帖,会被直接删掉;
  • 请针对问题提供[报表设计配置或SQL脚本]或在官网制作报表示例并提供ID;
  • 针对不好重现的问题,请录制操作视频或详细的重现步骤;
@zhangdaiscott
Copy link
Member

设置小数位数

@JackMa1046
Copy link
Author

不能解决问题,因为这一列不止0.0000000000,还存在有值的情况,比如34224.14838451200这种,如何才能展示成0和34224.148384512

@zhangdaiscott
Copy link
Member

目前不支持,你可以通过数据层面处理

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

No branches or pull requests

3 participants