math ceil react code example Example 1: js ceil Math.ceil(1.2); // 2 Example 2: javascript math ceiling function Math.ceil()