original_string: public function setDividedResult($fAbove, $fBelow, $mArguments = null)
      {
          if (($fAbove == 0) || ($fBelow == 0)) { // prevent infinite result AND division by 0
              return 0;
          }
          $numberToFormat = ($fAbove / $fBelow);
          if (is_numeric($mArguments)) {
              $frMinMax = [
                  'MinFractionDigits' => $mArguments,
                  'MaxFractionDigits' => $mArguments,
              ];
              return $this->setNumberFormat($numberToFormat, $frMinMax);
          }
          return $this->setNumberFormat(round($numberToFormat, $mArguments));
      }
code: public function setDividedResult($fAbove, $fBelow, $mArguments = null)
      {
          if (($fAbove == 0) || ($fBelow == 0)) { // prevent infinite result AND division by 0
              return 0;
          }
          $numberToFormat = ($fAbove / $fBelow);
          if (is_numeric($mArguments)) {
              $frMinMax = [
                  'MinFractionDigits' => $mArguments,
                  'MaxFractionDigits' => $mArguments,
              ];
              return $this->setNumberFormat($numberToFormat, $frMinMax);
          }
          return $this->setNumberFormat(round($numberToFormat, $mArguments));
      }
code_tokens: public function setDividedResult ( $ fAbove , $ fBelow , $ mArguments = null ) { if ( ( $ fAbove == 0 ) || ( $ fBelow == 0 ) ) { // prevent infinite result AND division by 0 return 0 ; } $ numberToFormat = ( $ fAbove / $ fBelow ) ; if ( is_numeric ( $ mArguments ) ) { $ frMinMax = [ 'MinFractionDigits' => $ mArguments , 'MaxFractionDigits' => $ mArguments , ] ; return $ this -> setNumberFormat ( $ numberToFormat , $ frMinMax ) ; } return $ this -> setNumberFormat ( round ( $ numberToFormat , $ mArguments ) ) ; }
docstring: Returns proper result from a mathematical division in order to avoid
  Zero division error or Infinite results
  
  @param float $fAbove
  @param float $fBelow
  @param mixed $mArguments
  @return string
docstring_tokens: Returns proper result from a mathematical division in order to avoid Zero division error or Infinite results