NFloat.Round Metodo

Definizione

Overload

Round(NFloat, Int32, MidpointRounding)

Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento predefinita (ToEven).

Round(NFloat, MidpointRounding)

Arrotonda un valore all'intero più vicino utilizzando la modalità di arrotondamento specificata.

Round(NFloat, Int32)

Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento predefinita (ToEven).

Round(NFloat)

Arrotonda un valore all'intero più vicino usando la modalità di arrotondamento predefinita (ToEven).

Round(NFloat, Int32, MidpointRounding)

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

Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento predefinita (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

Parametri

x
NFloat

Il valore da arrotondare.

digits
Int32

Numero di cifre frazionarie a cui x deve essere arrotondato.

mode
MidpointRounding

Modalità in cui x deve essere arrotondata.

Restituisce

Risultato dell'arrotondamento x a digits cifre frazionarie usando mode.

Implementazioni

Si applica a

Round(NFloat, MidpointRounding)

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

Arrotonda un valore all'intero più vicino utilizzando la modalità di arrotondamento specificata.

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

Parametri

x
NFloat

Il valore da arrotondare.

mode
MidpointRounding

Modalità in cui x deve essere arrotondata.

Restituisce

Risultato dell'arrotondamento x al numero intero più vicino tramite mode.

Implementazioni

Si applica a

Round(NFloat, Int32)

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

Arrotonda un valore a un numero specificato di cifre frazionarie usando la modalità di arrotondamento predefinita (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

Parametri

x
NFloat

Il valore da arrotondare.

digits
Int32

Numero di cifre frazionarie a cui x deve essere arrotondato.

Restituisce

Risultato dell'arrotondamento x a digits cifre frazionarie usando la modalità di arrotondamento predefinita.

Implementazioni

Si applica a

Round(NFloat)

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

Arrotonda un valore all'intero più vicino usando la modalità di arrotondamento predefinita (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

Parametri

x
NFloat

Il valore da arrotondare.

Restituisce

Risultato dell'arrotondamento x all'intero più vicino usando la modalità di arrotondamento predefinita.

Implementazioni

Si applica a