ytilities.numbers

Copyright (c) 2023 Anthony Mugendi

This software is released under the MIT License. https://opensource.org/licenses/MIT

Module Contents

Functions

human_format(→ str)

Return a human - readable representation of a number .

ytilities.numbers.human_format(value) str

Return a human - readable representation of a number .

Parameters:

value ([int,float]) – Value you wish to format

Raises:

Exception – TypeError

Returns:

A string representing the number in easy human readable form e.g “2.345K”

Return type:

str