20 lines
674 B
C#
20 lines
674 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies how mathematical rounding methods should process a number that is midway between two numbers.</summary>
|
|
/// <filterpriority>1</filterpriority>
|
|
// Token: 0x02000685 RID: 1669
|
|
[ComVisible(true)]
|
|
public enum MidpointRounding
|
|
{
|
|
/// <summary>When a number is halfway between two others, it is rounded toward the nearest even number.</summary>
|
|
// Token: 0x0400192F RID: 6447
|
|
ToEven,
|
|
/// <summary>When a number is halfway between two others, it is rounded toward the nearest number that is away from zero.</summary>
|
|
// Token: 0x04001930 RID: 6448
|
|
AwayFromZero
|
|
}
|
|
}
|