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
PĹ™ihlášenĂ ÄŤlenovĂ© mohou pĹ™ispĂvat, sledovat aktualizace a dalšĂ. Jste tu novĂ? Zaregistrujte si bezplatnĂ˝ účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.