[snip] Any ideas how I would go about changing my calculation, as php dosn't seem to recognise ^ meaning 'to the power of'. [/snip] The first thing I would do is read http://www.php.net/math and follow the link to http://www.php.net/manual/en/ref.bc.php which would have me arriving at http://www.php.net/manual/en/function.bcpow.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php