Conversions.ToDecimal Method (Boolean)

Converts a Boolean value to a Decimal value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static decimal ToDecimal(
	bool Value
)

Parameters

Value
Type: System.Boolean
A Boolean value to convert.

Return Value

Type: System.Decimal
The Decimal value of the Boolean value.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: