Jump to content

Recommended Posts

Posted

Hey guys,

For some reason, all of a sudden, when adding a schedule and calculating the distance, it is always "6083.70091069". This occurs no matter what the distance between the two airfields are.

Can anybody help me? I can provide screenshots upon request.

Thanks

Cody

  • Moderators
Posted

This is an example how to round up the distance in the schedule_results.tpl

<?php echo round($route->distance . Config::Get('UNITS'));?>

Posted

I put that line in Schedules_Results.tpl and re-uploaded it but when I try to automatically calculate the distance, I always get 6,083 miles. I know that Denver-Atlanta or Seattle-LAX isn't over 6,000 miles LOL.

Posted

Wow I'm getting old...

I told one of my staff to start entering in every airport they could think of and expected them to have put extremely common ones like KATL and KSEA in there. The only ones the put in were KDEN and KLAX.

Gotta have a talk with them...

Thanks Kyle! I'll mark this post as solved.

Thanks

Cody

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...