System::IConvertible::ToDouble 方法

IConvertible::ToDouble method

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

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

ReturnValue

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

另见