Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
So that's how it works, thank you for this information. I have amended some of the text and the calculation used within in the guide to reflect these findings.