关于钱的存储数据类型: 单位必须使用分为单位。 使用int类型 不建议使用decimal类型,因为会存在四舍五入。 转载于:https://www.cnblogs.com/liang545621/p/9401178.html