number_abbrev_to_int#

streaming.base.util.number_abbrev_to_int(abbrev_str)[source]#

Convert human readable number abbreviations to an integer.

Parameters

abbrev_str (Union[int, str]) – Value to convert.

Raises

ValueError – Invalid number suffix.

Returns

int – Integer value of number abbreviation.