code: static public function getPrecision($currency)
      {
          if (isset(static::$precisions[$currency])) {
              return static::$precisions[$currency];
          }
  
          return static::$precisions[$currency] = static::getCurrencyBundle()->getFractionDigits($currency);
      }
docs: Returns the currency precision.
  
  @param string $currency
  
  @return int|null