logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

numaverage - Find the average of a set of numbers.

Description

       By default numaverage will determine the average from all numbers on input.  Other options allow you to
       find the mode and median.

More Info

       More info on numaverage can be found at:

       http://suso.suso.org/xulu/Num-utils

perl v5.30.3                                       2020-06-09                                         AVERAGE(1)

Name

       numaverage - Find the average of a set of numbers.

Options

           -i  Only return the integer portion of the final sum.
           -I  Only return the decimal portion of the final sum

           -m  Find the mode (most occurring) of the list of numbers,
               or when there's more than one mode, the first completed mode.
           -M  Find the median (middle number) of the list of numbers.
           -l  When finding the median and the count of numbers in the set is even,
               use the lower middle number instead of the upper middle number.

           -h  Help: You're looking at it.
           -V  Increase verbosity.
           -d  Debug mode.  For developers

See Also

numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1),
       numrange(1), numround(1)

Synopsis

numaverage [-dhiIlmMV] <FILE>

       | numaverage [-dhiIlmMV]    (Input on STDIN from pipeline.)

       numaverage [-dhiIlmMV]      (Input on STDIN.  Use Ctrl-D to stop.)

See Also