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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.