PHP Classes

Factorial and Euler Constant calculation: Calculate number factorials and the Euler constant

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 242 All time: 7,990 This week: 176Up
Version License PHP version Categories
factorial_math 1.0GNU General Publi...3.0Math


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.

Picture of Ulisse Vela
Name: Ulisse Vela <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3990162 in Italy Italy
Week rank: 387 Up14 in Italy Italy Up

  Files folder image Files  
File Role Description
Plain text file functions.php Class Class base functions

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,990
This week:176Up