Description
Returns a copy of value
that has the same type as match.
The return value has the same dimensions as value.
(When converting to an integer, matchtype rounds to the
nearest integer.)
Example
matchtype(3.14, 1)
returns
3
because 1 is an integer.