## IConvertible::ToDecimal method


Mengonversi nilai instance ini menjadi angka [System::Decimal](../../decimal/) yang setara menggunakan informasi pemformatan spesifik budaya yang ditentukan.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| provider | System::SharedPtr\<System::IFormatProvider\> | Implementasi antarmuka [System::IFormatProvider](../../iformatprovider/) yang menyediakan informasi pemformatan spesifik budaya. |

### ReturnValue

Sebuah angka [System::Decimal](../../decimal/) yang setara dengan nilai instance ini.

## Lihat Juga

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