'Declaration Public Shared Function Subtract( _ ByVal left As TdDecimal, _ ByVal right As TdDecimal _ ) As TdDecimal
Parameters
- left
- The left operand.
- right
- The right operand.
Return Value
A TdDecimal containing the result
'Declaration Public Shared Function Subtract( _ ByVal left As TdDecimal, _ ByVal right As TdDecimal _ ) As TdDecimal
Exception | Description |
---|---|
System.OverflowException | The scale of an operand could not be adjusted to match the other operand's scale. |
If one of the parameter is TdDecimal.Null, the result will be TdDecimal.Null
.
Please refer to TdDecimal.op_Subtraction for an example of subtracting two TdDecimals.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019