PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 546 All time: 5,544 This week: 45Up
Version License PHP version Categories
bmicalc 1.0GNU General Publi...5.0PHP 5, Biology
Description 

Author

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
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:546
This week:0
All time:5,544
This week:45Up
User Comments (1)