System::IConvertible::ToDouble 方法

IConvertible::ToDouble method

使用指定的特定文化格式信息,将此实例的值转换为等效的双精度浮点数..

virtual double System::IConvertible::ToDouble(System::SharedPtr<System::IFormatProvider> provider)=0
ParameterType描述
providerSystem::SharedPtr<System::IFormatProvider>提供特定文化格式信息的 System::IFormatProvider 接口实现。

ReturnValue

一个等效于此实例值的双精度浮点数。

另见