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:
parent
59e85a379d
commit
a7d2134271
|
@ -1678,7 +1678,7 @@ class PHPExcel_Calculation {
|
||||||
|
|
||||||
$setPrecision = (PHP_INT_SIZE == 4) ? 12 : 16;
|
$setPrecision = (PHP_INT_SIZE == 4) ? 12 : 16;
|
||||||
$this->_savedPrecision = ini_get('precision');
|
$this->_savedPrecision = ini_get('precision');
|
||||||
if ($savedPrecision < $setPrecision) {
|
if ($this->_savedPrecision < $setPrecision) {
|
||||||
ini_set('precision',$setPrecision);
|
ini_set('precision',$setPrecision);
|
||||||
}
|
}
|
||||||
} // function __construct()
|
} // function __construct()
|
||||||
|
|
Loading…
Reference in New Issue