Fixed a bug with older versions of PHP and the round() function.