public static function Scale($scale) { if ($scale > 9) { require_once IFW_PSN_LIB_ROOT . 'IfwPsn/Vendor/Zend/Locale/Math/Exception.php'; throw new IfwPsn_Vendor_Zend_Locale_Math_Exception("can not scale to precision {$scale}", $scale, null, null); } self::$defaultScale = $scale; self::$defaultPrecision = pow(10, -$scale); return true; }