MidpointRounding (System.MidpointRounding)

Inherits: System.Enum

Interfaces: IComparable, IFormattable, IConvertible

Derived Types: 0

Assembly: mscorlib.dll

Specifies how mathematical rounding methods should process a number that is midway between two numbers.

VB.NET C#

VB.NET

Public Enum Structure MidpointRounding
  Implements System.IComparable, System.IFormattable, System.IConvertible
End Enum

Articles

Novo Solutions

Dim rounding As System.MidpointRounding For I As Integer = 0 To inputcount -1 addtooutput(inputdate(i), system.Math.Round(inputvalue(i), rounding.ToEven)

Novo Solutions

Dim rounding As System.MidpointRounding For I As Integer = 0 To inputcount -1 addtooutput(inputdate(i), system.Math.Round(inputvalue(i), rounding.AwayFromZero)

Mono Documentation

Mono Class Library : System Namespace System.MidpointRounding Enumeration: Note: This namespace, class, or member is supported only in version .NET 2.0 ...

Decimal.Round Method (Decimal, MidpointRounding) (System)

Type: System . . :: . MidpointRounding. A value that specifies how to round d if it is midway between two other numbers. Return Value Type: System . . :: . Decimal

MidpointRounding Enumeration (System)

Specifies how mathematical rounding methods should process a number that is midway between two numbers.

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support