from typing import List


def arrayToFloatList(x_array) -> List[float]:
    """Convert array to list of float.

    Args:
      x_array: array[Any] --

    Returns:
      List[float]
    """
    return [float(x_item) for x_item in x_array]