forked from: Optimizing Math.floor() method by using int() function

