math ceil floor

JavaScript
//round up to the next highest value
Math.ceil(11.49); //12 

//the greatest integer that is less than or equal to x
Math.floor(11.49); //11
//round up to the next highest value
Math.ceil(11.49); //12 

//the greatest integer that is less than or equal to x
Math.floor(11.49); //11

Source

Also in JavaScript: