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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.