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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.