StringType.FromDecimal 方法

定義

回傳 String 一個對應特定 Decimal 且可選的數字格式資訊的值。

多載

名稱 Description
FromDecimal(Decimal)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

回傳 String 一個對應於指定 Decimal值的值。

FromDecimal(Decimal, NumberFormatInfo)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

回傳 String 一個對應特定 Decimal 數字格式資訊的值。

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

FromDecimal(Decimal)

回傳 String 一個對應於指定 Decimal值的值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::String ^ FromDecimal(System::Decimal Value);
public static string FromDecimal(decimal Value);
static member FromDecimal : decimal -> string
Public Function FromDecimal (Value As Decimal) As String
Public Shared Function FromDecimal (Value As Decimal) As String

參數

Value
Decimal

必須的。 Decimal 轉換成一個 String 數值。

傳回

對應於的Value值。String

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於

FromDecimal(Decimal, NumberFormatInfo)

回傳 String 一個對應特定 Decimal 數字格式資訊的值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::String ^ FromDecimal(System::Decimal Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static string FromDecimal(decimal Value, System.Globalization.NumberFormatInfo NumberFormat);
static member FromDecimal : decimal * System.Globalization.NumberFormatInfo -> string
Public Function FromDecimal (Value As Decimal, NumberFormat As NumberFormatInfo) As String
Public Shared Function FromDecimal (Value As Decimal, NumberFormat As NumberFormatInfo) As String

參數

Value
Decimal

必須的。 Decimal 轉換成一個 String 數值。

NumberFormat
NumberFormatInfo

一個 NumberFormatInfo 定義數字值格式化與顯示方式的物件,依文化而定。

傳回

對應於的Value值。String

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於