Rush Posted January 7, 2009 Share Posted January 7, 2009 In Points section: Total Points: [your points here] (global points + max(hardware points, 300) ) Should be min instead? Quote Link to comment Share on other sites More sharing options...
jabski Posted January 7, 2009 Share Posted January 7, 2009 no because the max in hardware points is 300 when totaling towards your total points. Quote Link to comment Share on other sites More sharing options...
Rush Posted January 7, 2009 Author Share 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 Link to comment Share on other sites More sharing options...
Oj0 Posted January 7, 2009 Share Posted January 7, 2009 It's + maximum allowed points Quote Link to comment Share on other sites More sharing options...
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.