## IConvertible::ToDecimal method


يقوم بتحويل قيمة هذا الكائن إلى ما يعادلها من رقم [System::Decimal](../../decimal/) باستخدام معلومات التنسيق الخاصة بالثقافة المحددة.

```cpp
virtual System::Decimal System::IConvertible::ToDecimal(System::SharedPtr<System::IFormatProvider> provider)=0
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| provider | System::SharedPtr\<System::IFormatProvider\> | تنفيذ لواجهة [System::IFormatProvider](../../iformatprovider/) التي تزود بمعلومات التنسيق الخاصة بالثقافة. |

### ReturnValue

رقم [System::Decimal](../../decimal/) يعادل قيمة هذا الكائن.

## انظر أيضًا

* Class [Decimal](../../decimal/)
* Typedef [SharedPtr](../../sharedptr/)
* Class [IFormatProvider](../../iformatprovider/)
* Class [IConvertible](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
