Human readable count (number) formatting using metric symbol suffixes.
steps
steps = [
('', '', 0),
('kilo', 'k', 3),
('mega', 'M', 6),
('giga', 'G', 9),
('tera', 'T', 12),
('peta', 'P', 15),
('exa', 'E', 18),
('zetta', 'Z', 21),
('yotta', 'Y', 24),
]
precision
precision(count)
Find the prefix, suffix, and power that the given count should be classified as.
metric
metric(value, decimal)
Construct a sequence of strings that make up the formatted text to be printed.
metricParameters
metricReturns
Whole number portion.
Decimal point. Defaults to
..Fractional portion of the number in decimal.
Metric suffix; empty string if less than
1000.