NFloat.Round Méthode

Définition

Surcharges

Round(NFloat, Int32, MidpointRounding)

Arrondit une valeur à un nombre spécifié de chiffres fractionnaires à l’aide du mode d’arrondi par défaut (ToEven).

Round(NFloat, MidpointRounding)

Arrondit une valeur à l’entier le plus proche à l’aide du mode d’arrondi spécifié.

Round(NFloat, Int32)

Arrondit une valeur à un nombre spécifié de chiffres fractionnaires à l’aide du mode d’arrondi par défaut (ToEven).

Round(NFloat)

Arrondit une valeur à l’entier le plus proche à l’aide du mode d’arrondi par défaut (ToEven).

Round(NFloat, Int32, MidpointRounding)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Arrondit une valeur à un nombre spécifié de chiffres fractionnaires à l’aide du mode d’arrondi par défaut (ToEven).

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, int digits, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, int digits, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * int * MidpointRounding -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, digits As Integer, mode As MidpointRounding) As NFloat

Paramètres

x
NFloat

Valeur à arrondir.

digits
Int32

Nombre de chiffres fractionnaires auxquels x il faut arrondir.

mode
MidpointRounding

Mode sous lequel x doit être arrondi.

Retours

Résultat de l’arrondi en x chiffres fractionnaires à digits l’aide modede .

Implémente

S’applique à

Round(NFloat, MidpointRounding)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Arrondit une valeur à l’entier le plus proche à l’aide du mode d’arrondi spécifié.

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * MidpointRounding -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, mode As MidpointRounding) As NFloat

Paramètres

x
NFloat

Valeur à arrondir.

mode
MidpointRounding

Mode sous lequel x doit être arrondi.

Retours

Résultat de l’arrondi x à l’entier le plus proche à l’aide de mode.

Implémente

S’applique à

Round(NFloat, Int32)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Arrondit une valeur à un nombre spécifié de chiffres fractionnaires à l’aide du mode d’arrondi par défaut (ToEven).

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, int digits) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, int digits);
static member Round : System.Runtime.InteropServices.NFloat * int -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, digits As Integer) As NFloat

Paramètres

x
NFloat

Valeur à arrondir.

digits
Int32

Nombre de chiffres fractionnaires auxquels x il faut arrondir.

Retours

Résultat de l’arrondi x en fractions-chiffres à digits l’aide du mode d’arrondi par défaut.

Implémente

S’applique à

Round(NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Arrondit une valeur à l’entier le plus proche à l’aide du mode d’arrondi par défaut (ToEven).

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x);
static member Round : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat) As NFloat

Paramètres

x
NFloat

Valeur à arrondir.

Retours

Résultat de l’arrondi x à l’entier le plus proche à l’aide du mode d’arrondi par défaut.

Implémente

S’applique à