module A1409yoHealth::BMI

Public Class Methods

exec(weight, height) click to toggle source
# File lib/a1409yo_health/bmi.rb, line 3
def self.exec(weight, height)
  weight.to_f / ((height.to_f/100.0) ** 2)
end