diff --git a/netbox/dcim/models/racks.py b/netbox/dcim/models/racks.py index e5412a3ab98..54de5c434d1 100644 --- a/netbox/dcim/models/racks.py +++ b/netbox/dcim/models/racks.py @@ -466,7 +466,7 @@ def get_power_utilization(self): powerport.get_power_draw()['allocated'] for powerport in powerports ]) - return int(allocated_draw / available_power_total * 100) + return round(allocated_draw / available_power_total * 100, 1) @cached_property def total_weight(self):