original_string: public static function percentage($number1 = false, $number2 = false, $decimals = 2) {
  
          if($number1 && $number2) {
  
              return self::round(($number1 / $number2) * 100, $decimals);
          }
  
          return false;
      }
code: public static function percentage($number1 = false, $number2 = false, $decimals = 2) {
  
          if($number1 && $number2) {
  
              return self::round(($number1 / $number2) * 100, $decimals);
          }
  
          return false;
      }
code_tokens: public static function percentage ( $ number1 = false , $ number2 = false , $ decimals = 2 ) { if ( $ number1 && $ number2 ) { return self :: round ( ( $ number1 / $ number2 ) * 100 , $ decimals ) ; } return false ; }
docstring: Get the percentage.
  @param float number part
  @param float number total
  @param numbes of decimals
  @return int || float
docstring_tokens: Get the percentage .