DecimalType.FromBoolean(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Decimal
value that corresponds to the specified Boolean
value.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::Decimal FromBoolean(bool Value);
public static decimal FromBoolean (bool Value);
static member FromBoolean : bool -> decimal
Public Shared Function FromBoolean (Value As Boolean) As Decimal
Public Function FromBoolean (Value As Boolean) As Decimal
Parameters
- Value
- Boolean
Required. Boolean
value to convert to a Decimal
value.
Returns
The Decimal
value that corresponds to Value
.
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.