Calendar duration in months
M = calmonths(
returns
an array representing calendar months equivalent to the values in X
)X
.
If X
is a numeric array, then M
is
a calendarDuration
array with each element equal
to the number of calendar months in the corresponding element of X
.
If X
is a calendarDuration
array,
then M
is a double
array with
each element equal to the number of whole calendar months in the corresponding
element of X
.