This an an application that powers a point-based leaderboard for a sporting league. A bug has appeared that is affecting the final calculations of points in approx 1% of all totals. While the error rate is small, it should not exist. The application is written in PHP and pulls information from a MySQL database.