PHP Classes

myBMI: Compute the body mass index of a person

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-05-27 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 266 All time: 6,921 This week: 1,353Up
Version License PHP version Categories  
mybmi 0.1MIT/X Consortium ...5.0PHP 5, Biology
Description Author  

This class can be used to compute the body mass index of a person.

It takes the height and weight of a person with at least 18 years old and computes the respective body mass index.

The class also returns a classification of the person weight, whether is above or below the ideal weight. It can also considering the level of amputation of a person that lost body parts.

Innovation Award  
PHP Programming Innovation award nominee
August 2010
Number 10
Body Mass Index (BMI) is a value that can be calculated in order to determine whether a person is above or below the ideal weight.

The basic Body Mass Index does not consider people that had their members amputated.

This class can compute the Body Mass Index applying different adjustment factors according the eventual level of amputation of members that a person may have had.

Manuel Lemos
Picture of Michael Mayer
Name: Michael Mayer <contact>
Classes: 1 package by
Country: Germany Germany
Age: 32
All time rank: 3504203 in Germany Germany
Week rank: 1869 Up96 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.mybmi.php Class main class
Plain text file example.php Example Examples of using the myBMI class. Contains several instances with different settings.
Plain text file license.txt Lic. The License

 Version Control Unique User Downloads Download Rankings  
 0%Total:266All time:6,921
 This week:0This week:1,353Up