語言

MathContext 建構函式

定義

多載

名稱 Description
MathContext(Int32)

以指定精度構造新一個 MathContext 。

MathContext(Int32, MathNotationForm)

以指定精度與形式構建新作品 MathContext 。

MathContext(Int32, MathNotationForm, Boolean)

以指定精度、形式及 lostDigits 設定建構新字 MathContext 。

MathContext(Int32, MathNotationForm, Boolean, RoundOptions)

以指定精度、形態、lostDigits 及四捨五入模式設定建構新資料 MathContext 。

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)。

若參數超出範圍,則拋出 A 鍵(<0 或 >999999999).

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)。

若參數超出範圍,則拋出 A 鍵(<0 或 >999999999),或是參數給定的值不是適當的常數。

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)。

若參數超出範圍,則拋出 A 鍵(<0 或 >999999999),或是參數給定的值不是適當的常數。

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 。

若參數超出範圍,則拋出 A 鍵(<0 或 >999999999),或當參數給定的值不是適當的常數時。

Java 文件 android.icu.math.MathContext.MathContext(int, int, boolean, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於