@staticmethod
    def create_floating_ips(attrs=None, count=2):
        floating_ips = []
        for i in range(0, count):
            floating_ips.append(FakeFloatingIP.create_one_floating_ip(attrs))
        return floating_ips
Picks a good scale for representing a fraction, and formats it.
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py/FakeFloatingIP.create_floating_ips--crossover with--dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/b2/utils.py/format_and_scale_fraction