import logging


def exponential(number=None):
    """Number to scientific notation.

    Args:
        number (float): The number.

    Returns:
        String: The number in scientific notation.
    """
    if number is None:
        return None

    try:
        return "{:.2E}".format(number)
    except IOError as err:
        logging.error(err)