:mod:`webhelpers.number`
================================================

.. automodule:: webhelpers.number

.. currentmodule:: webhelpers.number

Calculations
------------

.. autofunction:: percent_of

Statistics
----------

.. autofunction:: mean
.. function:: average(r)

    Another name for ``mean(r)``.

.. autofunction:: median
.. autofunction:: standard_deviation
.. autofunction:: format_number

.. autoclass:: SimpleStats
    :members: __call__, extend

.. autoclass:: Stats
    :members: __call__, extend, finish

Number formatting
-----------------

.. autofunction:: format_data_size
.. autofunction:: format_byte_size
.. autofunction:: format_bit_size

