bmi calculator for al client

An archive of older topics.
Post Reply
Evilina
Posts: 1437
Joined: Wed Jan 25, 2006 8:42 am
Contact:

bmi calculator for al client

Post by Evilina »

#action {Your height is %1 feet, %2 inches, weight %3 pounds,}{#set feet %1;#set inches %2;#set weight %3;#set total_weight = weight * 703;#set total_inches = feet * 12 + inches;#set inches_2 = total_inches * total_inches;#set bmi = total_weight / inches_2}

I could of done this using a simpler math formula but I suck at math so had to break it down to something basic.

use #var bmi to see your current bmi
Tristan
Posts: 21
Joined: Tue Mar 30, 2010 3:12 am

Re: bmi calculator for al client

Post by Tristan »

Nice one
Evilina
Posts: 1437
Joined: Wed Jan 25, 2006 8:42 am
Contact:

Re: bmi calculator for al client

Post by Evilina »

btw I posted both bmi calculator scripts on wotmad forums Tristan, I did give you credit for your work.

Hope that's cool.
Tristan
Posts: 21
Joined: Tue Mar 30, 2010 3:12 am

Re: bmi calculator for al client

Post by Tristan »

:) yeah that's nps, you gave me credit which is cool :)
Post Reply