Human BMI calculator Extension


#1

Here, is my extension which calculates human BMI -Body Mass Index

Type - 1
The Weight must be Kilograms and Height must be in Meters

Type - 2
The weight must be in Pounds and Height must be in Inches

blocks

Download the Extension here:
com.aravindchowdary.BMI.aix (4.9 KB)

Cheers !


#2

that’s a good start for a test extension…

you might want to follow the naming conventions, which is UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names

example:
naming

also it would not hurt to replace w by width and h by height

Also let me recommend you to focus on extensions or new methods, which provide something new, i.e. which is currently not possible using existing simple math blocks…

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#3

thank you for the update
Taifun