protected function generateFractions()
    {
        $model = $this->cldrRepository->getModel('supplemental/supplementalData');
        $currencyData = $model->getRawArray('currencyData');

        foreach ($currencyData['fractions'] as $fractionString) {
            $currencyCode = $model->getAttributeValue($fractionString, 'iso4217');
            $this->fractions[$currencyCode] = [
                'digits' => (int)$model->getAttributeValue($fractionString, 'digits'),
                'rounding' => (int)$model->getAttributeValue($fractionString, 'rounding')
            ];
        }
    }