PHP Classes

BMI Calculator: Compute the body mass index from height and weight

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-09-13 (11 years ago) RSS 2.0 feedStarStarStar 53%Total: 2,063 All time: 1,890 This week: 355Up
Version License Categories
bmi_calculator 1.0.0BSD LicenseAlgorithms, Biology
Description Author

This is a simple class that can compute the body mass index of a person given his/her height and weight.

The class displays a table that shows the body mass index for the given height and weight and tells it corresponds to a person with low weight, normal weight or over the normal weight.

The calculations assume that the height is in meters and weight is in Kilograms. The messages appear both in English and in German.

Innovation Award
PHP Programming Innovation award nominee
December 2005
Number 7
Body mass index is value can be calculated to determine if the weight of an adult is normal for a person of his height.

This class can calculate the body mass index of a person and tell whether he is OK or or is above or below the normal weight.

Manuel Lemos
Name: Daniel Thul <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 29
All time rank: 59540 in Germany Germany
Week rank: 803 Down33 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x


  Files folder image Files  
File Role Description
Plain text file class.bmi.php Class The class itself
Accessible without login Plain text file example.php Example The example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,890
This week:355Up
User Ratings User Comments (2)
 All time
10 years ago (kishore kumar)
no comment rigth now
10 years ago (luigi musina)

For more information send a message to info at phpclasses dot org.