diff options
author | rodri <rgl@antares-labs.eu> | 2021-01-30 09:53:00 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-01-30 09:53:00 +0000 |
commit | f2e2c0fc324692461aa4f4c84100694189dabb9f (patch) | |
tree | 77d9e55fd47db82f42a64b33aa50a158e665a309 | |
parent | 41c872bf8af4cad1ff16f30c8ffbf36f65193774 (diff) | |
download | rcfitness-f2e2c0fc324692461aa4f4c84100694189dabb9f.tar.gz rcfitness-f2e2c0fc324692461aa4f4c84100694189dabb9f.tar.bz2 rcfitness-f2e2c0fc324692461aa4f4c84100694189dabb9f.zip |
remove unnecessary (and confusing) parentheses.
-rwxr-xr-x | bmr | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/rc # # BMR following the Mifflin-St. Jeor equation -# P(kcal/day) = 10*weight(kg) + 6.25*height(cm) - (5*age(yr)) + s +# P(kcal/day) = 10*weight(kg) + 6.25*height(cm) - 5*age(yr) + s # where s is +5 for men and -161 for women # s=5 @@ -28,5 +28,5 @@ if(~ $flagw 1) bc <<EOF scale=4 -10*$w + 6.25*$h - (5*$a) + $s +10*$w + 6.25*$h - 5*$a + $s EOF |