Send feedback on this topic.
Teradata.Client.Provider
Divide Method (TdIntervalDay)



Teradata.Client.Provider Namespace > TdIntervalDay Structure : Divide Method
A TdIntervalDay.
A divisor.
A TdIntervalDay is divided by an integer value.
Syntax
'Declaration
 
Public Shared Function Divide( _
   ByVal interval As TdIntervalDay, _
   ByVal value As Integer _
) As TdIntervalDay
'Usage
 
Dim interval As TdIntervalDay
Dim value As Integer
Dim value As TdIntervalDay
 
value = TdIntervalDay.Divide(interval, value)
public static TdIntervalDay Divide( 
   TdIntervalDay interval,
   int value
)
public:
static TdIntervalDay Divide( 
   TdIntervalDay interval,
   int value
) 

Parameters

interval
A TdIntervalDay.
value
A divisor.

Return Value

A new TdIntervalDay as the result of dividing a TdIntervalDay and an integer value.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalDay.MaxValue or less than the TdIntervalDay.MinValue.
The value divisor cannot be 0.
Remarks

If either parameter is Null a TdIntervalDay.Null will be returned.

The returned TdIntervalDay will contain a precision which matches the precision of the interval parameter.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalDay Structure
TdIntervalDay Members