Fix to a problem that I introduced with last night's changes to precision in the calculation engine

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67429 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2011-01-26 09:40:40 +00:00
parent 59e85a379d
commit a7d2134271
1 changed files with 1 additions and 1 deletions

View File

@ -1678,7 +1678,7 @@ class PHPExcel_Calculation {
$setPrecision = (PHP_INT_SIZE == 4) ? 12 : 16;
$this->_savedPrecision = ini_get('precision');
if ($savedPrecision < $setPrecision) {
if ($this->_savedPrecision < $setPrecision) {
ini_set('precision',$setPrecision);
}
} // function __construct()