Factorial of a non-integer number

Solution 1:

Perhaps you're looking for the Gamma function. It restricts to the usual factorial on natural numbers.

Wikipedia's article on Gamma function