Jump to content

a litle math..


techker

Recommended Posts

hey guys i have a math prob here..

 

i need to do a body fat calculator..

 

i have the number

 

Body Fat Formula For Men

Factor 1 (Total body weight x 1.082) + 94.42

Factor 2 Waist measurement x 4.15

Lean Body Mass Factor 1 - Factor 2

Body Fat Weight Total bodyweight - Lean Body Mass

Body Fat Percentage (Body Fat Weight x 100) / total bodyweight

 

i need to put it in a form like here  http://www.bmi-calculator.net/body-fat-calculator/

 

i have no clue how to do math with php?

 

sorry i found it in javascript.

 

http://javascript.about.com/library/blfat2.htm

 

thx anyways..

Link to comment
https://forums.phpfreaks.com/topic/137518-a-litle-math/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.