Convert..::..ToDecimal Method (Object, IFormatProvider)
Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static decimal ToDecimal( Object value, IFormatProvider provider )
<TemplateAttribute> _ Public Shared Function ToDecimal ( _ value As Object, _ provider As IFormatProvider _ ) As Decimal
[TemplateAttribute] public: static Decimal^ ToDecimal( Object^ value, IFormatProvider^ provider )