Decimal128.Round Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Nome | Descrição |
|---|---|
| Round(Decimal128, MidpointRounding) | |
| Round(Decimal128, Int32, MidpointRounding) | |
| Round(Decimal128) | |
| Round(Decimal128, Int32) |
Round(Decimal128, MidpointRounding)
- Origem:
- 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
Parâmetros
- mode
- MidpointRounding
Devoluções
Implementações
Aplica-se a
Round(Decimal128, Int32, MidpointRounding)
- Origem:
- 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
Parâmetros
- digits
- Int32
- mode
- MidpointRounding
Devoluções
Implementações
Aplica-se a
Round(Decimal128)
- Origem:
- 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
Parâmetros
Devoluções
Implementações
Aplica-se a
Round(Decimal128, Int32)
- Origem:
- 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
Parâmetros
- digits
- Int32