System::IConvertible::ToSingle method

IConvertible::ToSingle method

Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.

virtual float System::IConvertible::ToSingle(System::SharedPtr<System::IFormatProvider> provider)=0
ParameterTypeDescription
providerSystem::SharedPtr<System::IFormatProvider>A System::IFormatProvider interface implementation that supplies culture-specific formatting information.

ReturnValue

A single-precision floating-point number equivalent to the value of this instance.

See Also