sports_bench_get_shooting_average( $made, $attempts )

Type

Functions

Section

Stats

Returns the shooting percentage for a player.

Parameters

  • $made, integer, required, the number of shots made
  • $attempts, integer, required, the number of shot attempts

Returns

  • float, shooting percentage

Since: 1.0

Source: basketball-player-info.php, line 45