= = ###
-- 以MySQL为例:保留小数或整数时,是否需要四舍五入,也应该在考虑范围;不同数据库写法略有不同,自行扩展!
————————————————————————
-- select floor(1.636) as a,format(1.636-floor(1.636),2) as b
-- select floor(1.636) as a,TRUNCATE(1.636-floor(1.636),2) as b
-- select floor(1.636) as a,round(1.636-floor(1.636),2) as b
————————————————————————