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

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

See Also

Reference

TdIntervalDay Structure
TdIntervalDay Members