mikespe Posted July 20, 2004 Posted July 20, 2004 How do I go about Rounding the result of a calculation? Here is my calculation: (weight / (height * height))* 703 I know to use the Round Function but I am not sure where in my calculation it goes? Thx
-Queue- Posted July 20, 2004 Posted July 20, 2004 Round( your calc, precision ) => Round(weight * 703/(height * height), 0) would round the result to an integer.
mikespe Posted July 20, 2004 Author Posted July 20, 2004 that worked on that calculation Queue but I am still getting 4 decimal places on this calculation: Round (66 + (13.7 * (weight / 2.2)) + (5 * (height * 2.54)) - (6.8 * age);1)* Case( active_level = "sedentary"; 1.2; active_level = "light"; 1.375; active_level = "moderate"; 1.55; active_level = "very"; 1.725; active_level = "extra"; 1.9 ) That seems strange? Thank You!!
-Queue- Posted July 20, 2004 Posted July 20, 2004 Round needs to encompass the full calculation. Round ( 66 + (13.7 * (weight / 2.2)) + (5 * (height * 2.54)) - (6.8 * age) * Case( active_level = "sedentary"; 1.2; active_level = "light"; 1.375; active_level = "moderate"; 1.55; active_level = "very"; 1.725; active_level = "extra"; 1.9 ); 1 )
mikespe Posted July 20, 2004 Author Posted July 20, 2004 OOOHHH...gotcha...I figured it was something simple I was doing wrong...thx!!
Recommended Posts
This topic is 7500 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now