ProtoFlux:Factorial

From Resonite Wiki
Factorial
N
*
Math

The Factorial node takes in a non-negative int and returns the factorial value of that provided value. This works internally by taking the number and multiplying it over and over again with smaller numbers till it hits 1. This node will take in 1 and 0 as factorials and will return 1. If this node detects a negative number, it will return NaN.

Inputs

N (int)

The factorial to calculate from.

Outputs

* (Pseudo-generic)

Returns a multiplied number value of the provided factorial.

Examples

Videos

See Also