【发布时间】:2017-11-02 10:38:07
【问题描述】:
我想问一下,Orbeon XForms 中是否有round-when-formatting="true" 参数与digits-after-decimal="0" 参数结合使用传统舍入的选项。
(23.6->24)(22.8->23)(23.2->23)
在documentation section 中,我看到它使用了四舍五入的方法。
round-when-formatting="true" 非常适合仅在视图部分使用舍入,因为我只希望在视图中进行舍入,绑定中的计算值必须是未舍入的。
【问题讨论】: