Float.IConvertible.ToSingle Method | |
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Namespace:
XSharp
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax METHOD IConvertible.ToSingle(
provider AS IFormatProvider
) AS REAL4
float IConvertible.ToSingle(
IFormatProvider provider
)
Request Example
View SourceParameters
- provider
- Type: IFormatProvider
An IFormatProvider interface implementation that supplies culture-specific formatting information.
Return Value
Type:
SingleA single-precision floating-point number equivalent to the value of this instance.
Implements
ToSingle(IFormatProvider)See Also