IFloatingPoint<TSelf>.Round Methode

Definitie

Overloads

Name Description
Round(TSelf)

Rondt een waarde af op het dichtstbijzijnde gehele getal met behulp van de standaard afrondingsmodus (ToEven).

Round(TSelf, Int32)

Rondt een waarde af op een opgegeven aantal fractionele cijfers met behulp van de standaard afgeronde modus (ToEven).

Round(TSelf, MidpointRounding)

Rondt een waarde af op het dichtstbijzijnde gehele getal met behulp van de opgegeven afrondingsmodus.

Round(TSelf, Int32, MidpointRounding)

Rondt een waarde af op een opgegeven aantal fractionele cijfers met behulp van de opgegeven afrondingsmodus.

Round(TSelf)

Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs

Rondt een waarde af op het dichtstbijzijnde gehele getal met behulp van de standaard afrondingsmodus (ToEven).

public:
 static override TSelf Round(TSelf x);
public static virtual TSelf Round(TSelf x);
static member Round : 'Self -> 'Self
Public Shared Overrides Function Round (x As TSelf) As TSelf

Parameters

x
TSelf

De waarde die moet worden afgerond.

Retouren

TSelf

Het resultaat van afronding naar x het dichtstbijzijnde gehele getal met behulp van de standaard afgeronde modus.

Van toepassing op

Round(TSelf, Int32)

Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs

Rondt een waarde af op een opgegeven aantal fractionele cijfers met behulp van de standaard afgeronde modus (ToEven).

public:
 static override TSelf Round(TSelf x, int digits);
public static virtual TSelf Round(TSelf x, int digits);
static member Round : 'Self * int -> 'Self
Public Shared Overrides Function Round (x As TSelf, digits As Integer) As TSelf

Parameters

x
TSelf

De waarde die moet worden afgerond.

digits
Int32

Het aantal fractionele cijfers waarnaar x moet worden afgerond.

Retouren

TSelf

Het resultaat van afronding naar xdigits fractionele cijfers met behulp van de standaard afgeronde modus.

Van toepassing op

Round(TSelf, MidpointRounding)

Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs

Rondt een waarde af op het dichtstbijzijnde gehele getal met behulp van de opgegeven afrondingsmodus.

public:
 static override TSelf Round(TSelf x, MidpointRounding mode);
public static virtual TSelf Round(TSelf x, MidpointRounding mode);
static member Round : 'Self * MidpointRounding -> 'Self
Public Shared Overrides Function Round (x As TSelf, mode As MidpointRounding) As TSelf

Parameters

x
TSelf

De waarde die moet worden afgerond.

mode
MidpointRounding

De modus waaronder x moet worden afgerond.

Retouren

TSelf

Het resultaat van afronding x naar het dichtstbijzijnde gehele getal met behulp van mode.

Van toepassing op

Round(TSelf, Int32, MidpointRounding)

Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs
Bron:
IFloatingPoint.cs

Rondt een waarde af op een opgegeven aantal fractionele cijfers met behulp van de opgegeven afrondingsmodus.

public:
 static TSelf Round(TSelf x, int digits, MidpointRounding mode);
public static abstract TSelf Round(TSelf x, int digits, MidpointRounding mode);
static member Round : 'Self * int * MidpointRounding -> 'Self
Public Shared Function Round (x As TSelf, digits As Integer, mode As MidpointRounding) As TSelf

Parameters

x
TSelf

De waarde die moet worden afgerond.

digits
Int32

Het aantal fractionele cijfers waarnaar x moet worden afgerond.

mode
MidpointRounding

De modus waaronder x moet worden afgerond.

Retouren

TSelf

Het resultaat van afronding naar xdigits fractionele cijfers met behulp van mode.

Van toepassing op