Uređivanje

Dijeli putem


IConvertible.ToDecimal(IFormatProvider) Method

Definition

Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.

public:
 System::Decimal ToDecimal(IFormatProvider ^ provider);
public decimal ToDecimal (IFormatProvider provider);
public decimal ToDecimal (IFormatProvider? provider);
abstract member ToDecimal : IFormatProvider -> decimal
Public Function ToDecimal (provider As IFormatProvider) As Decimal

Parameters

provider
IFormatProvider

An IFormatProvider interface implementation that supplies culture-specific formatting information.

Returns

A Decimal number equivalent to the value of this instance.

Applies to