NMath.Round Method

Definition

Overloads

Round(nfloat, MidpointRounding)
Round(nfloat)
Round(nfloat, Int32)
Round(nfloat, Int32, MidpointRounding)

Round(nfloat, MidpointRounding)

public static nfloat Round (nfloat value, MidpointRounding mode);
static member Round : nfloat * MidpointRounding -> nfloat

Parameters

value
nfloat

Returns

Applies to

Round(nfloat)

public static nfloat Round (nfloat a);
static member Round : nfloat -> nfloat

Parameters

a
nfloat

Returns

Applies to

Round(nfloat, Int32)

public static nfloat Round (nfloat value, int digits);
static member Round : nfloat * int -> nfloat

Parameters

value
nfloat
digits
Int32

Returns

Applies to

Round(nfloat, Int32, MidpointRounding)

public static nfloat Round (nfloat value, int digits, MidpointRounding mode);
static member Round : nfloat * int * MidpointRounding -> nfloat

Parameters

value
nfloat
digits
Int32

Returns

Applies to