Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在水晶报告中有一个字段将 1.90 显示为 1,是否有任何功能可以做到这一点。以前我使用 round(1.90,0) 我得到了 2。但我想要 1。请建议我实现它的方法.
使用 truncate 函数从数字中删除小数点
truncate(1.90)
结果:
1