Bridge

Decimal..::..ToSingle Method

Converts the value of the specified Decimal to the equivalent single-precision floating-point number.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static float ToSingle(
	decimal value
)
<TemplateAttribute> _
Public Shared Function ToSingle ( _
	value As Decimal _
) As Single
[TemplateAttribute]
public:
static float^ ToSingle(
	Decimal^ value
)

Parameters

value
Type: System..::..Decimal

Return Value

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