Decimal.IConvertible.ToDouble Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
For a description of this member, see IConvertible.ToDouble.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- provider
- Type: System.IFormatProvider
This parameter is ignored.
Implements
IConvertible.ToDouble(IFormatProvider)This member is an explicit interface member implementation. It can be used only when the Decimal instance is cast to an IConvertible interface. The recommended alternative is to call either the Decimal.ToDouble method or the Convert.ToDouble method.
Because a Double has fewer significant digits than a Decimal, this operation may produce round-off errors.