## IFormatterConverter::ToDecimal method


将一个值转换为 [Decimal](../../../system/decimal/)。

```cpp
virtual Decimal System::Runtime::Serialization::IFormatterConverter::ToDecimal(System::SharedPtr<Object> value)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | System::SharedPtr\<Object\> | 待转换的对象。 |

### ReturnValue

已转换的值。

## 另见

* Class [Decimal](../../../system/decimal/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IFormatterConverter](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
