0! oversight?

Grasshopper does not appear to follow the convention that 0! is 1. Instead, an error occurs because zero is not a positive number. Am I missing something?

zero_factorial.gh (5.1 KB)

Hi,

Here is a trick that works :smiley:

1 Like

Great workaround! Thanks.