Hmm, pretty sure floor rounds a number downward to its nearest integer. So Math.floor(-15.5) would be 15.<p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;pt-PT&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Reference&#x2F;Global_Objects&#x2F;Math&#x2F;floor" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;pt-PT&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Refe...</a>