Hello, "Peter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ...[snip]... > the result of echo, $tmp is displayed as '0.0002'. What's wrong here? The > problem only occurs when the value is greater than a 1,000? Could the ',' > messed the computation up somehow? I think so because 1/5000 = 0.0002 (Only the number *before* the ',' is being used.) Try taking away the ',' then by using str_replace() and calculate again. - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php