Scratch for Java

Operators::ceilingOf()

This always rounds the number up to the least whole number greater than or equal to the number. For example, ceiling(3.14) = 4 and ceiling(7.68) = 8.

Syntax

Java

.ceilingOf(x)

Parameters

Name Data Type Description
x double a value

Return

double

ceilingOf()