def seconds_to_milliseconds(seconds: float) -> int:
    """
    Converts from seconds to milliseconds.

    :param seconds: time in seconds
    :return: converted time rounded to nearest millisecond
    """
    return int(seconds * 1000)