Decimal128.Round Method

Definition

Overloads

Round(Decimal128, MidpointRounding)

Source:
Decimal128.cs
public:
 static System::Numerics::Decimal128 Round(System::Numerics::Decimal128 x, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal128>::Round;
public static System.Numerics.Decimal128 Round(System.Numerics.Decimal128 x, MidpointRounding mode);
static member Round : System.Numerics.Decimal128 * MidpointRounding -> System.Numerics.Decimal128
Public Shared Function Round (x As Decimal128, mode As MidpointRounding) As Decimal128

Parameters

Returns

Implements

Applies to

Round(Decimal128, Int32, MidpointRounding)

Source:
Decimal128.cs
public:
 static System::Numerics::Decimal128 Round(System::Numerics::Decimal128 x, int digits, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal128>::Round;
public static System.Numerics.Decimal128 Round(System.Numerics.Decimal128 x, int digits, MidpointRounding mode);
static member Round : System.Numerics.Decimal128 * int * MidpointRounding -> System.Numerics.Decimal128
Public Shared Function Round (x As Decimal128, digits As Integer, mode As MidpointRounding) As Decimal128

Parameters

digits
Int32

Returns

Implements

Applies to

Round(Decimal128)

Source:
Decimal128.cs
public:
 static System::Numerics::Decimal128 Round(System::Numerics::Decimal128 x) = System::Numerics::IFloatingPoint<System::Numerics::Decimal128>::Round;
public static System.Numerics.Decimal128 Round(System.Numerics.Decimal128 x);
static member Round : System.Numerics.Decimal128 -> System.Numerics.Decimal128
Public Shared Function Round (x As Decimal128) As Decimal128

Parameters

Returns

Implements

Applies to

Round(Decimal128, Int32)

Source:
Decimal128.cs
public:
 static System::Numerics::Decimal128 Round(System::Numerics::Decimal128 x, int digits) = System::Numerics::IFloatingPoint<System::Numerics::Decimal128>::Round;
public static System.Numerics.Decimal128 Round(System.Numerics.Decimal128 x, int digits);
static member Round : System.Numerics.Decimal128 * int -> System.Numerics.Decimal128
Public Shared Function Round (x As Decimal128, digits As Integer) As Decimal128

Parameters

digits
Int32

Returns

Implements

Applies to