IFormatterConverter.ToDecimal(Object) IFormatterConverter.ToDecimal(Object) IFormatterConverter.ToDecimal(Object) IFormatterConverter.ToDecimal(Object) Method

定義

將值轉換成 DecimalConverts a value to a Decimal.

public:
 System::Decimal ToDecimal(System::Object ^ value);
public decimal ToDecimal (object value);
abstract member ToDecimal : obj -> decimal
Public Function ToDecimal (value As Object) As Decimal

參數

value
Object Object Object Object

要被轉換的物件。The object to be converted.

傳回

已轉換的 valueThe converted value.

適用於