def format_num_3(num):
    """
    Format the number to 3 decimal places.

    :param num: The number to format.
    :return: The number formatted to 3 decimal places.
    """
    return float("{:.3f}".format(num))