From 4ffd4a8014dbaad647f87c1c32a065c73fe73d02 Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Tue, 31 Dec 2019 10:33:36 -0500 Subject: [PATCH] Revert "Set the BCMth scale to 24 to maintain precision in arithmetic that uses a lot of decimal places (ie: latitude/longitude)." This reverts commit 1298694d59528934749214326061494ea7f0562a. --- geoPHP.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/geoPHP.inc b/geoPHP.inc index b8db43a7..12e7a335 100644 --- a/geoPHP.inc +++ b/geoPHP.inc @@ -118,13 +118,7 @@ class geoPHP } static function bcmathInstalled() { - if (extension_loaded('bcmath')) { - // Set the BCMath scale to 24 to maintain precision in arithmetic that - // uses a lot of decimal places (ie: latitude/longitude). - bcscale(24); - return TRUE; - } - return FALSE; + return extension_loaded('bcmath'); } static function geosInstalled($force = NULL) {