I need to round floating point numbers up to the nearest integer, even if the number after the point is less than 0.5.
For example,
Use ceil
ceil
var n = 4.3; n = Math.ceil(n);// n is 5