Brian Dunning's FileMaker Custom Functions

Arcfactorial ( product ; numberOfFactors )

returns the inverse factorial of a given integer

  Average rating: 4.0 (43 votes) Log in to vote

Jeff Drake   Jeff Drake - Show more from this author
Drakeling Technologies

Share on Facebook Share on Twitter

  Sample input:
Arcfactorial ( 120 , 3 )
  Sample output:
6

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

The Factorial function is great, if you want to know the value of 5!. But what if the value you’re given is 120, and you want to know which factorial would give you that product? Enter Arcfactorial.

This function has been tested to FileMaker’s indexable limits of Factorial ( 212 ), but like FileMaker’s own Factorial function, does not handle half-factorials.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: