def calc(f1,f2): Â if (f1 <> 0): Â Â Â return (f1/f2)*100 Â else: Â Â Â return 0
def calc(f1,f2): Â if (f1 <> 0 and f2 <> 0): Â Â Â return (f1/f2)*100 Â else: Â Â Â return 0
Try changing your square brakets in your expression to normal brackets ()Anthony
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.