1、float 类型的字段 在视图上设置精确度 <field name="daily_sales" digits="[42, 7]"/> 转载于:https://www.cnblogs.com/tank-/p/8423787.html