private function convert(array $number, $fractions = false)
    {
        if (!isset($this->conversionTable)) {
            return $this->targetConverter->replace(
                $this->sourceConverter->replace($number, $fractions),
                $fractions
            );
        }

        return $this->replace($number, $fractions);
    }
private function convert(array $number, $fractions = false)
    {
        if (!isset($this->conversionTable)) {
            return $this->targetConverter->replace(
                $this->sourceConverter->replace($number, $fractions),
                $fractions
            );
        }

        return $this->replace($number, $fractions);
    }
private function convert ( array $ number , $ fractions = false ) { if ( ! isset ( $ this -> conversionTable ) ) { return $ this -> targetConverter -> replace ( $ this -> sourceConverter -> replace ( $ number , $ fractions ) , $ fractions ) ; } return $ this -> replace ( $ number , $ fractions ) ; }
Converts the digits from source base to target base.
@param array $number The digits to convert
@param bool $fractions True if converting fractions, false if not
@return array The digits converted to target base
Converts the digits from source base to target base .