Send feedback on this topic.
Teradata.Client.Provider
Multiply Method (TdDecimal)



Teradata.Client.Provider Namespace > TdDecimal Structure : Multiply Method
A TdDecimal structure
A TdDecimal structure
The arithmetic product of two TdDecimals is calculated.
Syntax
'Declaration
 
Public Shared Function Multiply( _
   ByVal left As TdDecimal, _
   ByVal right As TdDecimal _
) As TdDecimal
'Usage
 
Dim left As TdDecimal
Dim right As TdDecimal
Dim value As TdDecimal
 
value = TdDecimal.Multiply(left, right)
public static TdDecimal Multiply( 
   TdDecimal left,
   TdDecimal right
)
public:
static TdDecimal Multiply( 
   TdDecimal left,
   TdDecimal right
) 

Parameters

left
A TdDecimal structure
right
A TdDecimal structure

Return Value

A TdDecimal structure is returned whose value property contains the product of the left and right operands.
Exceptions
ExceptionDescription

The scale of the result is greater than the TdDecimal.MaxScale.

The result is greater than TdDecimal.MaxValue.

The result is less than TdDecimal.MinValue.

Remarks

The result will be TdDecimal.Null if one of the parameter is TdDecimal.Null.

Please refer to TdDecimal.op_Multiply for more information.

Example
Please refer to TdDecimal.op_Multiply for an example on the use of the multiplication operator.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDecimal Structure
TdDecimal Members