Bridge

Decimal ExplicitNarrowingExplicitExplicitExplicit Conversion (Decimal to Single)

Defines an explicit conversion of a Decimal to a single-precision floating-point number.

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

Syntax


public static explicit operator float (
	decimal value
)
Public Shared Narrowing Operator CType ( _
	value As Decimal _
) As Single
static explicit operator float^ (
	Decimal^ value
)

Parameters

value
Type: System..::..Decimal
The value to convert.

Return Value

A single-precision floating-point number that represents the converted Decimal.