Click or drag to resize

Float.IConvertible.ToSingle Method

X#
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
Request Example View Source

Parameters

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

Return Value

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

Implements

ToSingle(IFormatProvider)
See Also