Common/Util/Money.php
static public function getPrecision($currency)
    {
        if (isset(static::$precisions[$currency])) {
            return static::$precisions[$currency];
        }

        return static::$precisions[$currency] = static::getCurrencyBundle()->getFractionDigits($currency);
    }
static public function getPrecision($currency)
    {
        if (isset(static::$precisions[$currency])) {
            return static::$precisions[$currency];
        }

        return static::$precisions[$currency] = static::getCurrencyBundle()->getFractionDigits($currency);
    }
Returns the currency precision.

@param string $currency

@return int|null