Decimal32.Round Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Round(Decimal32, MidpointRounding) | |
| Round(Decimal32, Int32, MidpointRounding) | |
| Round(Decimal32) | |
| Round(Decimal32, Int32) |
Round(Decimal32, MidpointRounding)
- Źródło:
- 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
Parametry
- mode
- MidpointRounding
Zwraca
Implementuje
Dotyczy
Round(Decimal32, Int32, MidpointRounding)
- Źródło:
- 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
Parametry
- digits
- Int32
- mode
- MidpointRounding
Zwraca
Implementuje
Dotyczy
Round(Decimal32)
- Źródło:
- 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
Parametry
Zwraca
Implementuje
Dotyczy
Round(Decimal32, Int32)
- Źródło:
- 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
Parametry
- digits
- Int32