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



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

Parameters

interval
A TdIntervalDayToHour.
value
A divisor.

Return Value

A new TdIntervalDayToHour as the result of dividing a TdIntervalDayToHour and an integer value.
Exceptions
ExceptionDescription
The value divisor cannot be 0.
Remarks

If interval is TdIntervalDayToHour.Null a Null will be returned.

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

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalDayToHour Structure
TdIntervalDayToHour Members