DecimalType.FromBoolean Method (Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a Decimal value that corresponds to the specified Boolean value.

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

public static decimal FromBoolean(
	bool Value
)

Parameters

Value
Type: System.Boolean

Required. Boolean value to convert to a Decimal value.

Return Value

Type: System.Decimal

The Decimal value that corresponds to Value.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework
Available since 1.1
Return to top
Show: