Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_math
factorial/1
Description
factorial/1 is an Erlang function exported by "age_math" module.
Returns the calculated factorial.
References
None
Parameters
Name
Type
Value
integer()
n! value
Result
Value or Type
Code Sample
> age_math:factorial(5). 120