MathContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| MathContext(Int32) |
以指定精度構造新一個 |
| MathContext(Int32, MathNotationForm) |
以指定精度與形式構建新作品 |
| MathContext(Int32, MathNotationForm, Boolean) |
以指定精度、形式及 lostDigits 設定建構新字 |
| MathContext(Int32, MathNotationForm, Boolean, RoundOptions) |
以指定精度、形態、lostDigits 及四捨五入模式設定建構新資料 |
MathContext(Int32)
以指定精度構造新一個 MathContext 。
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=24)]
public MathContext(int setdigits);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=24)>]
new Android.Icu.Math.MathContext : int -> Android.Icu.Math.MathContext
參數
- setdigits
- Int32
int這個MathContext數字設定。
- 屬性
備註
以指定精度構造新一個 MathContext 。 其他設定則設定為預設值(參見 #DEFAULT)。
若
Java 文件 android.icu.math.MathContext.MathContext(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
MathContext(Int32, MathNotationForm)
以指定精度與形式構建新作品 MathContext 。
[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=24)]
public MathContext(int setdigits, Android.Icu.Math.MathNotationForm setform);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=24)>]
new Android.Icu.Math.MathContext : int * Android.Icu.Math.MathNotationForm -> Android.Icu.Math.MathContext
參數
- setdigits
- Int32
int這個MathContext數字設定。
- setform
- MathNotationForm
這個 MathContext的 型態設定。int
- 屬性
備註
以指定精度與形式構建新作品 MathContext 。 其他設定則設定為預設值(參見 #DEFAULT)。
若
Java 文件 android.icu.math.MathContext.MathContext(int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
MathContext(Int32, MathNotationForm, Boolean)
以指定精度、形式及 lostDigits 設定建構新字 MathContext 。
[Android.Runtime.Register(".ctor", "(IIZ)V", "", ApiSince=24)]
public MathContext(int setdigits, Android.Icu.Math.MathNotationForm setform, bool setlostdigits);
[<Android.Runtime.Register(".ctor", "(IIZ)V", "", ApiSince=24)>]
new Android.Icu.Math.MathContext : int * Android.Icu.Math.MathNotationForm * bool -> Android.Icu.Math.MathContext
參數
- setdigits
- Int32
int這個MathContext數字設定。
- setform
- MathNotationForm
這個 MathContext的 型態設定。int
- setlostdigits
- Boolean
這個 lostDigits 的設定MathContext。boolean
- 屬性
備註
以指定精度、形式及 lostDigits 設定建構新字 MathContext 。 四捨五入模式設定為預設值(參見 #DEFAULT)。
若
Java 文件 android.icu.math.MathContext.MathContext(int, int, boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
MathContext(Int32, MathNotationForm, Boolean, RoundOptions)
以指定精度、形態、lostDigits 及四捨五入模式設定建構新資料 MathContext 。
[Android.Runtime.Register(".ctor", "(IIZI)V", "", ApiSince=24)]
public MathContext(int setdigits, Android.Icu.Math.MathNotationForm setform, bool setlostdigits, Android.Icu.Math.RoundOptions setroundingmode);
[<Android.Runtime.Register(".ctor", "(IIZI)V", "", ApiSince=24)>]
new Android.Icu.Math.MathContext : int * Android.Icu.Math.MathNotationForm * bool * Android.Icu.Math.RoundOptions -> Android.Icu.Math.MathContext
參數
- setdigits
- Int32
int這個MathContext數字設定。
- setform
- MathNotationForm
這個 MathContext的 型態設定。int
- setlostdigits
- Boolean
這個 lostDigits 的設定MathContext。boolean
- setroundingmode
- RoundOptions
int
MathContext這個 。
- 屬性
備註
以指定精度、形態、lostDigits 及四捨五入模式設定建構新資料 MathContext 。
若
Java 文件 android.icu.math.MathContext.MathContext(int, int, boolean, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。