NFloat.Round Methode

Definition

Überlädt

Name Beschreibung
Round(NFloat)

Rundet einen Wert mithilfe des standardmäßigen Rundungsmodus (ToEven) auf die nächste ganze Zahl ab.

Round(NFloat, Int32)

Rundet einen Wert auf eine angegebene Anzahl von Dezimalstellen mithilfe des standardmäßigen Rundungsmodus (ToEven).

Round(NFloat, MidpointRounding)

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

Round(NFloat, Int32, MidpointRounding)

Rundet einen Wert auf eine angegebene Anzahl von Dezimalstellen mithilfe des standardmäßigen Rundungsmodus (ToEven).

Round(NFloat)

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

Rundet einen Wert mithilfe des standardmäßigen Rundungsmodus (ToEven) auf die nächste ganze Zahl ab.

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 mithilfe des Standardmäßigen Rundungsmodus.

Implementiert

Gilt für:

Round(NFloat, Int32)

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

Rundet einen Wert auf eine angegebene Anzahl von Dezimalstellen mithilfe des standardmäßigen Rundungsmodus (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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

digits
Int32

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

Gibt zurück

Das Ergebnis der Rundung x auf digits Bruchzahlen mithilfe des standardmäßigen Rundungsmodus.

Implementiert

Gilt für:

Round(NFloat, MidpointRounding)

Quelle:
NFloat.cs
Quelle:
NFloat.cs
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, unter dem x gerundet werden soll.

Gibt zurück

Das Ergebnis der Rundung x auf die nächste ganze Zahl mithilfe modevon .

Implementiert

Gilt für:

Round(NFloat, Int32, MidpointRounding)

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

Rundet einen Wert auf eine angegebene Anzahl von Dezimalstellen mithilfe des standardmäßigen Rundungsmodus (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

Parameter

x
NFloat

Hierbei handelt es sich um den zu rundenden Wert.

digits
Int32

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

mode
MidpointRounding

Der Modus, unter dem x gerundet werden soll.

Gibt zurück

Das Ergebnis der Rundung x auf digits Bruchziffern mithilfe modevon .

Implementiert

Gilt für: