factorial
Function to calculate the factorial of a number.
Return
The factorial of the number.
Receiver
The number to calculate the factorial of.
Throws
if the number is negative.
Function to calculate the factorial of a number.
The factorial of the number.
The number to calculate the factorial of.
if the number is negative.