public function getDigits(array $decimals)
    {
        $digits = [];

        foreach ($decimals as $decimal) {
            $digits[] = $this->digits->getDigit($decimal);
        }

        return $digits;
    }
public function getDigits(array $decimals)
    {
        $digits = [];

        foreach ($decimals as $decimal) {
            $digits[] = $this->digits->getDigit($decimal);
        }

        return $digits;
    }
public function getDigits ( array $ decimals ) { $ digits = [ ] ; foreach ( $ decimals as $ decimal ) { $ digits [ ] = $ this -> digits -> getDigit ( $ decimal ) ; } return $ digits ; }
Returns the digits representing the given decimal values.
@param int[] $decimals Decimal values to look up
@return array Array of digits that represent the given decimal values
@throws \InvalidArgumentException If any of the decimal values is invalid
Returns the digits representing the given decimal values .