Function numberAverage

  • Calculates the average of all numbers given in the array.

    Parameters

    • numbers: number[]

      The numbers to be averaged.

    • rounded: boolean = false

      whether the result average should be rounded.

    Returns number

    the average result.

Generated using TypeDoc