What do you mean to say here?
BMI basically is waist to height ratio.
Technically to the square of the height but that just emphasizes height a bit more.
BMI or any such ratio is wrong for athletes and people with unusual stature in many cases.
A body builder or prize fighter with extra muscle will show up as too high.
Truly “big boned” people – and they are a bit rare – will get the wrong category as well.
(I’m both.) I don’t complain, it’s just the way it is, and even by BMI the chances are I will leave the “Obese” category TOMORROW. (Happy Dance).
Actually, if I don’t “round off” I just did. 29.988 (Looks like less than 30 to me.
)
If you run Windows with PowerShell (or load it on Linux/MacOS) this will get you BMI:
Function Get-BMI {
Param(
$Weight,
$Height = 70,
$Round = 2,
[switch]$NoRound = $False
)
If ($NoRound) { $Round = 15 }
[math]::Round(($Weight * 0.453592) / [math]::Pow($Height * 0.0254, 2), $Round)
}
Enjoy!