Operator explicit operator
explicit operator byte(Decimal128)
Performs an explicit conversion from Decimal128 to byte.
Parameters
value
Decimal128The value to convert.
Returns
- byte
The result of the conversion.
explicit operator char(Decimal128)
Performs an explicit conversion from Decimal128 to char.
Parameters
value
Decimal128The value to convert.
Returns
- char
The result of the conversion.
explicit operator decimal(Decimal128)
Performs an explicit conversion from Decimal128 to decimal.
Parameters
value
Decimal128The value to convert.
Returns
- decimal
The result of the conversion.
explicit operator Decimal128(double)
Performs an explicit conversion from double to Decimal128.
Parameters
value
doubleThe value.
Returns
- Decimal128
The result of the conversion.
explicit operator Decimal128(float)
Performs an explicit conversion from float to Decimal128.
Parameters
value
floatThe value.
Returns
- Decimal128
The result of the conversion.
explicit operator double(Decimal128)
Performs an explicit conversion from Decimal128 to double.
Parameters
value
Decimal128The value to convert.
Returns
- double
The result of the conversion.
explicit operator float(Decimal128)
Performs an explicit conversion from Decimal128 to float.
Parameters
value
Decimal128The value to convert.
Returns
- float
The result of the conversion.
explicit operator int(Decimal128)
Performs an explicit conversion from Decimal128 to int.
Parameters
value
Decimal128The value to convert.
Returns
- int
The result of the conversion.
explicit operator long(Decimal128)
Performs an explicit conversion from Decimal128 to long.
Parameters
value
Decimal128The value to convert.
Returns
- long
The result of the conversion.
explicit operator sbyte(Decimal128)
Performs an explicit conversion from Decimal128 to sbyte.
Parameters
value
Decimal128The value to convert.
Returns
- sbyte
The result of the conversion.
explicit operator short(Decimal128)
Performs an explicit conversion from Decimal128 to short.
Parameters
value
Decimal128The value to convert.
Returns
- short
The result of the conversion.
explicit operator uint(Decimal128)
Performs an explicit conversion from Decimal128 to uint.
Parameters
value
Decimal128The value to convert.
Returns
- uint
The result of the conversion.
explicit operator ulong(Decimal128)
Performs an explicit conversion from Decimal128 to ulong.
Parameters
value
Decimal128The value to convert.
Returns
- ulong
The result of the conversion.
explicit operator ushort(Decimal128)
Performs an explicit conversion from Decimal128 to ushort.
Parameters
value
Decimal128The value to convert.
Returns
- ushort
The result of the conversion.