how to round up ceil and floor values in javascript code example Example: js ceil Math.ceil(1.2); // 2