NFloat.Round Methode

Definition

Überlädt

Round(NFloat, Int32, MidpointRounding)

Rundet einen Wert mit dem Standardrundungsmodus (ToEven) auf eine angegebene Anzahl von Bruchstellen.

Round(NFloat, MidpointRounding)

Rundet einen Wert mithilfe des angegebenen Rundungsmodus auf die nächste ganze Zahl.

Round(NFloat, Int32)

Rundet einen Wert mit dem Standardrundungsmodus (ToEven) auf eine angegebene Anzahl von Bruchstellen.

Round(NFloat)

Rundet einen Wert mithilfe des Standardrundungsmodus (ToEven) auf die nächste ganze Zahl.

Round(NFloat, Int32, MidpointRounding)

Quelle:
NFloat.cs
Quelle:
NFloat.cs
Quelle:
NFloat.cs

Rundet einen Wert mit dem Standardrundungsmodus (ToEven) auf eine angegebene Anzahl von Bruchstellen.

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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

digits
Int32

Die Anzahl der Bruchstellen, auf die x gerundet werden soll.

mode
MidpointRounding

Der Modus, in dem x gerundet werden soll.

Gibt zurück

Das Ergebnis der Rundung x auf digits Bruchstellen mit mode.

Implementiert

Gilt für:

Round(NFloat, MidpointRounding)

Quelle:
NFloat.cs
Quelle:
NFloat.cs
Quelle:
NFloat.cs

Rundet einen Wert mithilfe des angegebenen Rundungsmodus auf die nächste ganze Zahl.

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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

mode
MidpointRounding

Der Modus, in dem x gerundet werden soll.

Gibt zurück

Das Ergebnis der Rundung x auf die nächste ganze Zahl mit mode.

Implementiert

Gilt für:

Round(NFloat, Int32)

Quelle:
NFloat.cs
Quelle:
NFloat.cs
Quelle:
NFloat.cs

Rundet einen Wert mit dem Standardrundungsmodus (ToEven) auf eine angegebene Anzahl von Bruchstellen.

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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

digits
Int32

Die Anzahl der Bruchstellen, auf die x gerundet werden soll.

Gibt zurück

Das Ergebnis der Rundung x auf digits Bruchstellen im Standardrundungsmodus.

Implementiert

Gilt für:

Round(NFloat)

Quelle:
NFloat.cs
Quelle:
NFloat.cs
Quelle:
NFloat.cs

Rundet einen Wert mithilfe des Standardrundungsmodus (ToEven) auf die nächste ganze Zahl.

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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

Gibt zurück

Das Ergebnis der Rundung x auf die nächste ganze Zahl im Standardrundungsmodus.

Implementiert

Gilt für: