使用cast: DECIMAL(16,4) 总共能存16位数字,末尾4位是小数(小数点不算在长度内) select sum(CAST ( money AS DECIMAL(20,2) )) from wwtemp2