To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationfactorial

factorial (integer value) ⇒ integer

Takes a value as an integer and returns it's factorial, that is n!. If n is ≥ 40 it will return -1 as it would result in an arithmetic overflow.

First available: Version 1.3.1
Comments
Code previewClose
Feedback 👍
Comments are sent via email to me.