Share via


NMath.Round Method

Definition

Overloads

Round(NFloat, MidpointRounding)

public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat value, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * MidpointRounding -> System.Runtime.InteropServices.NFloat

Parameters

value
NFloat

Returns

Applies to

Round(NFloat)

public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat a);
static member Round : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat

Parameters

a
NFloat

Returns

Applies to

Round(NFloat, Int32)

public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat value, int digits);
static member Round : System.Runtime.InteropServices.NFloat * int -> System.Runtime.InteropServices.NFloat

Parameters

value
NFloat
digits
Int32

Returns

Applies to

Round(NFloat, Int32, MidpointRounding)

public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat value, int digits, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * int * MidpointRounding -> System.Runtime.InteropServices.NFloat

Parameters

value
NFloat
digits
Int32

Returns

Applies to