IConvertible.ToDecimal メソッド
指定したカルチャ固有の書式情報を使用して、指定したインスタンスの値を等価の Decimal 数に変換します。
IConvertible 型は CLS との互換性がありません。CLS との互換性に関する詳細については 「共通言語仕様の概要」 を参照してください。
Function ToDecimal( _
ByVal provider As IFormatProvider _) As Decimal
[C#]
decimal ToDecimal(
IFormatProviderprovider);
[C++]
Decimal ToDecimal(
IFormatProvider* provider);
[JScript]
function ToDecimal(
provider : IFormatProvider) : Decimal;
パラメータ
- provider
カルチャに固有の書式情報を提供する IFormatProvider インターフェイス実装。
戻り値
対象のインスタンスの値と等価な Decimal 数。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET