'Declaration Public Shared Function Add( _ ByVal left As TdNumber, _ ByVal right As TdNumber _ ) As TdNumber
Parameters
- left
- The left operand.
- right
- The right operand.
Return Value
A TdNumber containing the sum.
'Declaration Public Shared Function Add( _ ByVal left As TdNumber, _ ByVal right As TdNumber _ ) As TdNumber
Exception | Description |
---|---|
System.OverflowException | The result is not in the range (between TdNumber.MinValue and TdNumber.MaxValue) of a TdNumber, or the exponent is less than -130. |
If one of the parameter is TdNumber.Null, the result will be TdNumber.Null
.
Please refer to TdNumber.op_Addition for more information.
Please refer to TdNumber.op_Addition for an example of adding two TdNumbers.
Product | Versions | Platforms |
---|---|---|
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |