sports_bench_get_goals_against_average( $goals_allowed, $games_played )

Type

Functions

Section

Stats

Returns the goals against average for a goalie.

Parameters

  • $goals_allowed, integer, required, the number of goals allowed
  • $games_player, integer, required, the number of games played

Returns

  • float, goals against average for a goalie

Since: 1.0

Source: hockey-player-info.php, line 26; soccer-player-info.php, line 27