def unit_to_microunit(measure):
    """
    Convert measures in whole units to millionths of units.

    Parameters
    ----------
    measure : array_like
        The measure(s) to be converted

    Returns
    -------
    out : float or :py:class:`numpy.ndarray`
        The converted measure(s)

    Raises
    ------
    TypeError
        If ``measure`` cannot be converted to a :py:class:`numpy.ndarray`

    Examples
    --------
    >>> unit_to_microunit(1) == 1. * 1000000
    True
    """
    return measure * 1000000.0
