Decimal ExplicitNarrowingExplicitExplicitExplicit Conversion (Decimal to Byte)
Defines an explicit conversion of a Decimal to an 8-bit unsigned integer.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- value
- Type: System..::..Decimal
The value to convert.
Return Value
An 8-bit unsigned integer that represents the converted Decimal.Exceptions
Exception | Condition |
---|---|
System..::..OverflowException | value is less than MinValue or greater than MaxValue. |