asp.net.ph

IConvertible.ToSingle Method

System Namespace   IConvertible Class


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

The IConvertible type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[ VB ]
<CLSCompliant ( False ) >
Function ToSingle ( _
   ByVal provider As IFormatProvider _
) As Single

[ C# ]
[CLSCompliant ( false ) ]

float ToSingle (
   IFormatProvider provider
);

[ C++ ]
[CLSCompliant ( false ) ]

float ToSingle (
   IFormatProvider* provider
);

[JScript ]
function CLSCompliant ( false )
ToSingle (
   provider : IFormatProvider
) : float;

Parameters

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

Return Value

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

See Also

IConvertible Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph