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



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

Parameters

interval
A TdIntervalYear.
value
A divisor.

Return Value

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

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

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalYear Structure
TdIntervalYear Members