Decimal64.Round Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Round(Decimal64, MidpointRounding) | |
| Round(Decimal64) | |
| Round(Decimal64, Int32) | |
| Round(Decimal64, Int32, MidpointRounding) |
Round(Decimal64, MidpointRounding)
- Source:
- Decimal64.cs
public:
static System::Numerics::Decimal64 Round(System::Numerics::Decimal64 x, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal64>::Round;
public static System.Numerics.Decimal64 Round(System.Numerics.Decimal64 x, MidpointRounding mode);
static member Round : System.Numerics.Decimal64 * MidpointRounding -> System.Numerics.Decimal64
Public Shared Function Round (x As Decimal64, mode As MidpointRounding) As Decimal64
Parameters
- mode
- MidpointRounding
Returns
Implements
Applies to
Round(Decimal64)
- Source:
- Decimal64.cs
public:
static System::Numerics::Decimal64 Round(System::Numerics::Decimal64 x) = System::Numerics::IFloatingPoint<System::Numerics::Decimal64>::Round;
public static System.Numerics.Decimal64 Round(System.Numerics.Decimal64 x);
static member Round : System.Numerics.Decimal64 -> System.Numerics.Decimal64
Public Shared Function Round (x As Decimal64) As Decimal64
Parameters
Returns
Implements
Applies to
Round(Decimal64, Int32)
- Source:
- Decimal64.cs
public:
static System::Numerics::Decimal64 Round(System::Numerics::Decimal64 x, int digits) = System::Numerics::IFloatingPoint<System::Numerics::Decimal64>::Round;
public static System.Numerics.Decimal64 Round(System.Numerics.Decimal64 x, int digits);
static member Round : System.Numerics.Decimal64 * int -> System.Numerics.Decimal64
Public Shared Function Round (x As Decimal64, digits As Integer) As Decimal64
Parameters
- digits
- Int32
Returns
Implements
Applies to
Round(Decimal64, Int32, MidpointRounding)
- Source:
- Decimal64.cs
public:
static System::Numerics::Decimal64 Round(System::Numerics::Decimal64 x, int digits, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal64>::Round;
public static System.Numerics.Decimal64 Round(System.Numerics.Decimal64 x, int digits, MidpointRounding mode);
static member Round : System.Numerics.Decimal64 * int * MidpointRounding -> System.Numerics.Decimal64
Public Shared Function Round (x As Decimal64, digits As Integer, mode As MidpointRounding) As Decimal64
Parameters
- digits
- Int32
- mode
- MidpointRounding