Factorial

Calculates n! = n × (n−1) × … × 1, where n is an integer of 0 or greater. By definition 0! is 1.