* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Localization\CLDR; /** * Will calculate the computing precision (fraction digits number used for computations) that should * be used for a given display precision. */ interface ComputingPrecisionInterface { /** * Number of decimal digits to take into account when computing values * for a given display precision * * @param int $displayPrecision * * @return int */ public function getPrecision(int $displayPrecision); }