PHP Classes / Factorial and Euler Constant calculation

Calculate number factorials and the Euler constant

Factorial and Euler Constant calculation PHP Class

This is a simple class that can be used to calculate the factorial of a given number. It uses recursion to multiply an integer number by all numbers with inferior value. The class can also calculate the Euler or Napier constant (e = 2,71...) with up to 15 iterations.

Similar PHP Classes

Search in PHP Classes

Filter by tags