Rush Posted January 7, 2009 Posted January 7, 2009 In Points section: Total Points: [your points here] (global points + max(hardware points, 300) ) Should be min instead? Quote
jabski Posted January 7, 2009 Posted January 7, 2009 no because the max in hardware points is 300 when totaling towards your total points. Quote
Rush Posted January 7, 2009 Author Posted January 7, 2009 jabski, I know it. Maximum of hardware points is 300. 1. New user has 0 hardware points and 0 global points: 0 + max(0, 300) = 300. 0 + min(0, 300) = 0. <- Total points is 0. 2. You have 554.2 hardware points and 447.6 global points: 447.6 + max(554.2, 300) = 1011.8 447.6 + min(554.2, 300) = 747.6 <- Your current total points. I'm programmer and it is strange for me to see max(double, double) function returns minimum of it's arguments. So I consider it's a typo. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.