def _divide_and_format(self, value):
        value /= self.initial_multi
        for i, unit in enumerate(self.units):
            if value > self.multiplier_top:
                value /= self.unit_multi
            else:
                break

        return self.value_format.format(value=value, unit=unit)
Divide a value and return formatted string
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/vnstat.py/Py3status._divide_and_format