PHP Classes

Body Mass Index Calculator: Calculate the body mass index of a person

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 544 All time: 5,543 This week: 106Up
Version License PHP version Categories
bmicalc 1.0GNU General Publi...5.0PHP 5, Biology


This class can be used to calculate the body mass index (BMI) of a person.

It takes as parameters the height and weight of a person and calculate the BMI value. The height may be given in centimeters, inches or feet.

The class can also check the BMI value against certain ranges of values and return a textual description that explains how fat or thin the person is.

Picture of Gustav Eklundh
Name: Gustav Eklundh <contact>
Classes: 3 packages by
Country: Sweden Sweden
Age: 33
All time rank: 12109 in Sweden Sweden
Week rank: 387 Up5 in Sweden Sweden Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file bmi.class.php Class The class itself.
Plain text file example.php Example Examples on how to use the class
Accessible without login Plain text file license.txt Lic. The GPL v3

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,543
This week:106Up
User Comments (1)