public function getFraction($currencyCode)
    {
        if (array_key_exists($currencyCode, $this->fractions)) {
            return $this->fractions[$currencyCode];
        }

        return $this->fractions['DEFAULT'];
    }
public function getFraction($currencyCode)
    {
        if (array_key_exists($currencyCode, $this->fractions)) {
            return $this->fractions[$currencyCode];
        }

        return $this->fractions['DEFAULT'];
    }
public function getFraction ( $ currencyCode ) { if ( array_key_exists ( $ currencyCode , $ this -> fractions ) ) { return $ this -> fractions [ $ currencyCode ] ; } return $ this -> fractions [ 'DEFAULT' ] ; }
Returns an array with keys "digits" and "rounding", each an integer.

@param string $currencyCode
@return array ['digits' => int, 'rounding => int]
Returns an array with keys digits and rounding each an integer .