Click or drag to resize

Date.IConvertible.ToDecimal Method

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

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
METHOD IConvertible.ToDecimal(
	provider AS IFormatProvider
) AS DECIMAL
Request Example View Source

Parameters

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

Return Value

Type: Decimal
A Decimal number equivalent to the value of this instance.

Implements

ToDecimal(IFormatProvider)
See Also