So I'm assuming the output is going to look like the following:
user_id: int,
number_of_drop_offs: int
total_distance: float (rounded to 2. S.F)
cost_per_mile: float
total_price: float
extra_person_price: float
extra_person_count: int
calculation_created_at:datetime
This could look like:
{
user_id: 1,
number_of_drop_offs: 3
total_distance: 420
cost_per_mile: 1.0
extra_person_price: 15
extra_person_count: 1
total_price: 435
calculation_created_at: 2025/04/08 04:00:00
}
So I'm assuming the output is going to look like the following:
This could look like: