sports_bench_get_points_average

Gets the points per game average for a player.

Parameters

  • int $points — The number of points scored.
  • int $games — The number of games played.

Returns

  • float — The points per game for the player.

Since: 2.0

Source

  • /includes/functions/players.php — 70