共用方式為


NSDecimal.Explicit 運算子

定義

多載

Explicit(NSDecimal to Decimal)
Explicit(NSDecimal to Double)
Explicit(NSDecimal to Int32)
Explicit(NSDecimal to Single)

Explicit(NSDecimal to Decimal)

public static explicit operator decimal (Foundation.NSDecimal value);
static member op_Explicit : Foundation.NSDecimal -> decimal

參數

value
NSDecimal

傳回

適用於

Explicit(NSDecimal to Double)

public static explicit operator double (Foundation.NSDecimal value);
static member op_Explicit : Foundation.NSDecimal -> double

參數

value
NSDecimal

傳回

適用於

Explicit(NSDecimal to Int32)

public static explicit operator int (Foundation.NSDecimal value);
static member op_Explicit : Foundation.NSDecimal -> int

參數

value
NSDecimal

傳回

適用於

Explicit(NSDecimal to Single)

public static explicit operator float (Foundation.NSDecimal value);
static member op_Explicit : Foundation.NSDecimal -> single

參數

value
NSDecimal

傳回

適用於