四舍六入五成双(四舍六入奇偶效验)银行家算法

规则:sql 四舍六入五考虑, 五后非零就进一, 五后皆零看奇偶, 五前为偶应舍去, 五前为奇要进一。 c# c#:oracle Math.Round(new Decimal(1.2050),2) 1.2 Math.Round(new Decimal(1.2150),2) 1.22 Math.Round(new Decimal(1.2250),2) 1.
相关文章
相关标签/搜索