bittensor.utils.formatting

bittensor.utils.formatting#

Functions#

get_human_readable(num[, suffix])

Convert a number into a human-readable format with suffixes.

millify(n)

Converts a number into a more readable format with suffixes.

Module Contents#

bittensor.utils.formatting.get_human_readable(num, suffix='H')#

Convert a number into a human-readable format with suffixes.

bittensor.utils.formatting.millify(n)#

Converts a number into a more readable format with suffixes.

Parameters:

n (int)