def to_currency(cents: int) -> str:
    """Convert a given number of cent into a string formated dollar format

    Parameters
    ----------
    cents : int
        Number of cents that needs to be converted

    Returns
    -------
    str
        Formated dollar amount
    """
    return f"${cents / 100:.2f}"