#390·decimal

Round 和 RoundUp 方法的四舍五入行为不一致

作者: KyleAdultHub创建于 2024年12月27日更新于 2024年12月27日

使用 RoundUp(0) 方法时,结果与 Round 方法不一致。以下是展示此问题的示例案例:

内容来源: shopspring/decimal