protected function formatValue($value, $divisor)
    {
        $quotient = 0;
        if ($divisor > 0 && $value > 0) {
            $quotient = round($value / $divisor, $this->quotientPrecision);
        }

        return $quotient;
    }
protected function formatValue($value, $divisor)
    {
        $quotient = 0;
        if ($divisor > 0 && $value > 0) {
            $quotient = round($value / $divisor, $this->quotientPrecision);
        }

        return $quotient;
    }
protected function formatValue ( $ value , $ divisor ) { $ quotient = 0 ; if ( $ divisor > 0 && $ value > 0 ) { $ quotient = round ( $ value / $ divisor , $ this -> quotientPrecision ) ; } return $ quotient ; }
Formats the given value

@param number $value
@param number $divisor
@return float|int
Formats the given value