NMath.Round 方法

定義

多載

Round(nfloat, MidpointRounding)

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

參數

value
nfloat

傳回

適用於

Round(nfloat)

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

參數

a
nfloat

傳回

適用於

Round(nfloat, Int32)

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

參數

value
nfloat
digits
Int32

傳回

適用於

Round(nfloat, Int32, MidpointRounding)

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

參數

value
nfloat
digits
Int32

傳回

適用於