math.floor vs math.ceil code example
Example: math ceil floor
//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