# Need help in calculating varibales

**URL:** <https://forum.kirupa.com/t/need-help-in-calculating-varibales/326873>\
**Category:** Uncategorized\
**Created:** [January 18, 2012, 12:38am UTC](https://forum.kirupa.com/t/need-help-in-calculating-varibales/326873 "2012-01-18T00:38:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ksuguy25](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Post date:** [January 18, 2012, 12:38am UTC](https://forum.kirupa.com/t/need-help-in-calculating-varibales/326873/1 "2012-01-18T00:38:22Z")

</div>

my weakpoints in php programming is doing math. I need some help in calculating distant to the nearest star (Alpha Proxima) given in light years is 4.2421 and there are 365.242 days in a year. much appreciated for your help. Thanks.
