# Calculate Distances

**URL:** <https://forum.phpvms.net/t/calculate-distances/3860>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [December 28, 2010, 7:41pm UTC](https://forum.phpvms.net/t/calculate-distances/3860 "2010-12-28T19:41:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cor](https://forum.phpvms.net/user_avatar/forum.phpvms.net/cor/32/96_2.png) [@Cor](https://forum.phpvms.net/u/Cor)\
**Post date:** [December 28, 2010, 7:41pm UTC](https://forum.phpvms.net/t/calculate-distances/3860/1 "2010-12-28T19:41:29Z")

</div>

Hello all,

As i am still bust with configuring everything and translating everything i noticed a strange thing in the calculated distances in the flight schedules.

I have routes with 2 decimals and with three

Example: EHAM -ZBAA = 4231.03 and EHAM - LFPG = 215.289

Is there anyway to change this so it wil automaticly going to round figure like EHAM -ZBAA = 4231 and EHAM - LFPG = 215

Tnx and have a great 2011

Regards,

Cor
