YearMonthDuration.Divide Method (YearMonthDuration, double)YearMonthDuration.Divide Method (YearMonthDuration, Double)YearMonthDuration::Divide Method (YearMonthDuration, double)

Syntax

Public Shared Function Divide( _
    duration As YearMonthDuration, _
    value As Double _
) As YearMonthDuration
public static YearMonthDuration Divide(
    YearMonthDuration duration,
    double value
)
public:
static YearMonthDuration Divide(
    YearMonthDuration duration, 
    double value
)
 

Remarks

The result is rounded to the nearest month, as per the fn:round function.