parseFloat instead of parseInt to keep granularity of distances for routes.