Math.floor

Emxample 1:

var myMath = Math.floor(23.789) // returns 23

Emxample 2:

var myMath = Math.floor(-9.999) // returns -10