This commit is contained in:
Jun-te Kim 2025-04-24 13:41:09 +01:00
parent f771fee1e0
commit f05222ae5c

View file

@ -63,7 +63,6 @@ def work_out_total_floor_area(pre_site_note):
total += add_all_floors(pre_site_note.property_description.ex3_property.dimensions) if ext3 is True else 0
total += add_all_floors(pre_site_note.property_description.ex4_proprerty.dimensions) if ext4 is True else 0
floor_area = math.ceil(total) if total%1 >=0.5 else math.floor(total)
if 0 <= floor_area <= 72:
return '0-72m', floor_area