original_string: private static function getPercentageValue($value, $divisor, $quotientPrecision)
      {
          if ($value == 0) {
              $evolution = 0;
          } elseif ($divisor == 0) {
              $evolution = 100;
          } else {
              $evolution = ($value / $divisor) * 100;
          }
  
          $evolution = round($evolution, $quotientPrecision);
          return $evolution;
      }
code: private static function getPercentageValue($value, $divisor, $quotientPrecision)
      {
          if ($value == 0) {
              $evolution = 0;
          } elseif ($divisor == 0) {
              $evolution = 100;
          } else {
              $evolution = ($value / $divisor) * 100;
          }
  
          $evolution = round($evolution, $quotientPrecision);
          return $evolution;
      }
code_tokens: private static function getPercentageValue ( $ value , $ divisor , $ quotientPrecision ) { if ( $ value == 0 ) { $ evolution = 0 ; } elseif ( $ divisor == 0 ) { $ evolution = 100 ; } else { $ evolution = ( $ value / $ divisor ) * 100 ; } $ evolution = round ( $ evolution , $ quotientPrecision ) ; return $ evolution ; }
docstring: Returns an evolution percent based on a value & divisor.
docstring_tokens: Returns an evolution percent based on a value & divisor .