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    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 2,089 All time: 1,874 This week: 560Up
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
Picture of Daniel Thul
Name: Daniel Thul <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 33
All time rank: 59539 in Germany Germany
Week rank: 295 Up7 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  
 0%
Total:2,089
This week:0
All time:1,874
This week:560Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2190
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar
no comment rigth now
14 years ago (luigi musina)
52%StarStarStar