Decimal32.Round Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Round(Decimal32, MidpointRounding) | |
| Round(Decimal32, Int32, MidpointRounding) | |
| Round(Decimal32) | |
| Round(Decimal32, Int32) |
Round(Decimal32, MidpointRounding)
- Source:
- 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
Paramètres
- mode
- MidpointRounding
Retours
Implémente
S’applique à
Round(Decimal32, Int32, MidpointRounding)
- Source:
- 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
Paramètres
- digits
- Int32
- mode
- MidpointRounding
Retours
Implémente
S’applique à
Round(Decimal32)
- Source:
- 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
Paramètres
Retours
Implémente
S’applique à
Round(Decimal32, Int32)
- Source:
- 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
Paramètres
- digits
- Int32