import math


def speed(point_distance, time):
    """
    Returns the speed an object travels between two points
    :param point_distance: Distance in meters
    :param time: Time in seconds
    :return:
    """
    if point_distance != 0.0:
        point_distance = point_distance/1000
        time = time / 3600
        object_speed = point_distance/time
        object_speed = math.ceil(object_speed * 100) / 100
    else:
        object_speed = 0.00
    return object_speed