ระบุทิศทางการปัดเศษเมื่อค่าอยู่กึ่งกลาง
ระบุทิศทางการปัดเศษเมื่อค่าอยู่กึ่งกลาง
ระบุทิศทางการปัดเศษเมื่อค่าอยู่กึ่งกลาง
| ชื่อ (Name) | ค่า (Value) | คำอธิบาย |
|---|---|---|
| RoundingMode.Up | 0 | Round up when there is a tie between the possible numbers to round to. |
| RoundingMode.Down | 1 | Round down when there is a tie between the possible numbers to round to. |
| RoundingMode.AwayFromZero | 2 | Round away from zero when there is a tie between the possible numbers to round to. |
| RoundingMode.TowardZero | 3 | Round toward zero when there is a tie between the possible numbers to round to. |
| RoundingMode.ToEven | 4 | Round to the nearest even number when there is a tie between the possible numbers to round to. |