sports_bench_get_hitting_percentage( $attacks, $kills, $errors )

Type

Functions

Section

Stats

Returns the goals against average for a goalie.

Parameters

  • $attacks, integer, required, the number of attacks
  • $kills, integer, required, the number of kills
  • $errors, integer, required, the number of hitting errors

Returns

  • string | float, hitting percentage

Since: 1.4

Source: volleyball-player-info.php, line 29