NMath.Round 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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
參數
- value
- nfloat
- mode
- MidpointRounding
傳回
適用於
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
- mode
- MidpointRounding