23 lines
747 B
C#
23 lines
747 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies how mathematical rounding methods should process a number that is midway between two numbers.</summary>
|
|
// Token: 0x02000118 RID: 280
|
|
[Token(Token = "0x2000118")]
|
|
[ComVisible(true)]
|
|
public enum MidpointRounding
|
|
{
|
|
/// <summary>When a number is halfway between two others, it is rounded toward the nearest even number.</summary>
|
|
// Token: 0x0400045E RID: 1118
|
|
[Token(Token = "0x400045E")]
|
|
ToEven,
|
|
/// <summary>When a number is halfway between two others, it is rounded toward the nearest number that is away from zero.</summary>
|
|
// Token: 0x0400045F RID: 1119
|
|
[Token(Token = "0x400045F")]
|
|
AwayFromZero
|
|
}
|
|
}
|