Rounds a decimal value to the nearest integer. A parameter specifies how
to round the value if it is midway between two other numbers.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static decimal Round(
Public Shared Function Round (
value As Decimal,
mode As MidpointRounding
) As Decimal
static Decimal Round(
static member Round :
value : decimal *
mode : MidpointRounding -> decimal
- Type: SystemDecimal
A decimal number to be rounded.
- Type: SystemMidpointRounding
Specification for how to round value if it is midway between two other numbers.
The integer nearest value. If value is halfway between two numbers, one of which
is even and the other odd, then mode determines which of the two is returned.
Supported in: 6.0, 5.x, 4.x