python_utils.fmt ================ Back to :doc:`Module page <../modules/python_utils>` Summary ------- formatting number as string Signature --------- .. code-block:: python def fmt(num, prec = 4, form = 'f') .. list-table:: Input variables :header-rows: 1 * - Name - Type - Default - Description * - ``num`` - - - - - - * - ``prec`` - - - 4 - - * - ``form`` - - - 'f' - - Output variables ---------------- .. list-table:: :header-rows: 1 * - Return annotation - Docstring type - Description * - ``None`` - - - - Docstring --------- .. code-block:: text formatting number as string