Operator explicit operator
explicit operator byte(Decimal128)
Performs an explicit conversion from Decimal128 to byte.
public static explicit operator byte(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- byte
 The result of the conversion.
explicit operator char(Decimal128)
Performs an explicit conversion from Decimal128 to char.
public static explicit operator char(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- char
 The result of the conversion.
explicit operator decimal(Decimal128)
Performs an explicit conversion from Decimal128 to decimal.
public static explicit operator decimal(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- decimal
 The result of the conversion.
explicit operator Decimal128(double)
Performs an explicit conversion from double to Decimal128.
public static explicit operator Decimal128(double value)
Parameters
valuedoubleThe value.
Returns
- Decimal128
 The result of the conversion.
explicit operator Decimal128(float)
Performs an explicit conversion from float to Decimal128.
public static explicit operator Decimal128(float value)
Parameters
valuefloatThe value.
Returns
- Decimal128
 The result of the conversion.
explicit operator double(Decimal128)
Performs an explicit conversion from Decimal128 to double.
public static explicit operator double(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- double
 The result of the conversion.
explicit operator float(Decimal128)
Performs an explicit conversion from Decimal128 to float.
public static explicit operator float(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- float
 The result of the conversion.
explicit operator int(Decimal128)
Performs an explicit conversion from Decimal128 to int.
public static explicit operator int(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- int
 The result of the conversion.
explicit operator long(Decimal128)
Performs an explicit conversion from Decimal128 to long.
public static explicit operator long(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- long
 The result of the conversion.
explicit operator sbyte(Decimal128)
Performs an explicit conversion from Decimal128 to sbyte.
[CLSCompliant(false)]
public static explicit operator sbyte(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- sbyte
 The result of the conversion.
explicit operator short(Decimal128)
Performs an explicit conversion from Decimal128 to short.
public static explicit operator short(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- short
 The result of the conversion.
explicit operator uint(Decimal128)
Performs an explicit conversion from Decimal128 to uint.
[CLSCompliant(false)]
public static explicit operator uint(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- uint
 The result of the conversion.
explicit operator ulong(Decimal128)
Performs an explicit conversion from Decimal128 to ulong.
[CLSCompliant(false)]
public static explicit operator ulong(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- ulong
 The result of the conversion.
explicit operator ushort(Decimal128)
Performs an explicit conversion from Decimal128 to ushort.
[CLSCompliant(false)]
public static explicit operator ushort(Decimal128 value)
Parameters
valueDecimal128The value to convert.
Returns
- ushort
 The result of the conversion.