JavaScript Reference/Javascript Methods/ceil
"ceil()" Example
<html>
<body>
<button onclick="alert(Math.ceil(1.1));">CEIL</button>
</body>
</html>
"ceil()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Math |
+----------------+--------------------------------------------------------------+
"ceil()" Syntax, Parameters and Note
Note:
Rounds the number up to the nearest integer.
Syntax:
Math.ceil(param1)
Parameters:
param1 Required; the number to convert.