Decimal32.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
| Name | Descrição |
|---|---|
| Round(Decimal32, MidpointRounding) | |
| Round(Decimal32, Int32, MidpointRounding) | |
| Round(Decimal32) | |
| Round(Decimal32, Int32) |
Round(Decimal32, MidpointRounding)
- Origem:
- Decimal32.cs
public:
static System::Numerics::Decimal32 Round(System::Numerics::Decimal32 x, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal32>::Round;
public static System.Numerics.Decimal32 Round(System.Numerics.Decimal32 x, MidpointRounding mode);
static member Round : System.Numerics.Decimal32 * MidpointRounding -> System.Numerics.Decimal32
Public Shared Function Round (x As Decimal32, mode As MidpointRounding) As Decimal32
Parâmetros
- mode
- MidpointRounding
Devoluções
Implementações
Aplica-se a
Round(Decimal32, Int32, MidpointRounding)
- Origem:
- Decimal32.cs
public:
static System::Numerics::Decimal32 Round(System::Numerics::Decimal32 x, int digits, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Numerics::Decimal32>::Round;
public static System.Numerics.Decimal32 Round(System.Numerics.Decimal32 x, int digits, MidpointRounding mode);
static member Round : System.Numerics.Decimal32 * int * MidpointRounding -> System.Numerics.Decimal32
Public Shared Function Round (x As Decimal32, digits As Integer, mode As MidpointRounding) As Decimal32
Parâmetros
- digits
- Int32
- mode
- MidpointRounding
Devoluções
Implementações
Aplica-se a
Round(Decimal32)
- Origem:
- Decimal32.cs
public:
static System::Numerics::Decimal32 Round(System::Numerics::Decimal32 x) = System::Numerics::IFloatingPoint<System::Numerics::Decimal32>::Round;
public static System.Numerics.Decimal32 Round(System.Numerics.Decimal32 x);
static member Round : System.Numerics.Decimal32 -> System.Numerics.Decimal32
Public Shared Function Round (x As Decimal32) As Decimal32
Parâmetros
Devoluções
Implementações
Aplica-se a
Round(Decimal32, Int32)
- Origem:
- Decimal32.cs
public:
static System::Numerics::Decimal32 Round(System::Numerics::Decimal32 x, int digits) = System::Numerics::IFloatingPoint<System::Numerics::Decimal32>::Round;
public static System.Numerics.Decimal32 Round(System.Numerics.Decimal32 x, int digits);
static member Round : System.Numerics.Decimal32 * int -> System.Numerics.Decimal32
Public Shared Function Round (x As Decimal32, digits As Integer) As Decimal32
Parâmetros
- digits
- Int32