# factorial

NOTE: 21! is the largest factorial GameMaker:Studio can precisely compute. Beyond that, floating point arithmetic can represent factorials as large as 170! with decreasing precision.

factorial(number)
Returns the factorial of a given number.
COPY/// factorial(number)
//
//  Returns the factorial of a given number.
//
//      number      value, integer
//
//  Note: 21! is the largest factorial GameMaker:Studio can precisely
//  compute. Beyond that, floating-point arithmetic can represent
//  factorials as large as 170! with decreasing precision.
//